944,068 Members | Top Members by Rank

Ad:
Aug 2nd, 2007
0

var or string value goes into another form

Expand Post »
i use this in a form
dim alt_date as boolean
....code....
alt_date=false


end
now i want this alt_date value to be saved and go on to the next form, but by default, it always remains false, even if i change it to true in the previous one.
how ken i kal the alt_date actual value in another form, and change the state to true to false.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
dmotah is offline Offline
26 posts
since Jul 2007
Aug 2nd, 2007
0

Re: var or string value goes into another form

Hi,


add a .bas Module to ur Project and Declare this in module:

Public alt_date as Boolean.

Remove all the other Declarations of alt_date in the Forms, Now u have a Public Variable that u can use across all the Forms in ur project.

REgards
Veena
Last edited by QVeen72; Aug 2nd, 2007 at 3:39 am.
Reputation Points: 84
Solved Threads: 140
Posting Shark
QVeen72 is offline Offline
923 posts
since Nov 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: marquee in vb6
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Data-Access with Vbasic





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC