>Hey Steve, Hilmar and Larry,
> I'm sorry you guys, I didn't explain that question better. Let start over again: I have a date entry form that calls another little form that checks for a password. If the password is valid I need to pass back to the calling form the value 1. If it is invalid, I need to pass back the value 0. Then the little password form releases. Thanks for your help, I really appreciate it.
This is something alittle different. Ex.
From Form1 method
do form form2 to MyVar
if MyVar = 0 then
else
endif
Form2 must be
modal. Store the validity of the password to a form-level property in Form2. In the Unload event of Form2, add the following:
return THIS.MyProperty
The Unload event is where you put code to return values.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao