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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.