954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

var or string value goes into another form

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.

dmotah
Light Poster
31 posts since Jul 2007
Reputation Points: 10
Solved Threads: 0
 

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

QVeen72
Posting Shark
950 posts since Nov 2006
Reputation Points: 84
Solved Threads: 143
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You