General information
Category:
Forms & Form designer
>>I'm calling a form (that checks for a valid password)in the click of a command button. The command I use is
>> DO FORM PASSWORD TO lValPass
>>before this command I say LOCAL lvalPass
>>In the password form , in the init I say
>> Paramaters lValPass
>>I also create the property lValPass on the form.
>>
>>In the Unload of the form I return lvalpass
>>I get an error message that lvalpass is not valid
>>
>>On my password form I have just 1 textbox called txtpass. In the click of that I check to see if the password is valid. If it is I set lvalpass to t, otherwise it's f.
>>
>>This isn't working.
>>
>>Please help.
>>
>>Thanks.
>
>I assume your form is modal. You need to change the call to your form to be:
>
>DO FORM password WITH lvalpass TO lvalpass
>
>And in your Unload method you need to:
>
>RETURN thisform.lvalpass
>
>Hope that helps.
Thanks for the help. This part seems to be working sortof o.k. But I can't seem to get back from the password form to the calling form. I have 2 buttons on my password form - ok and cancel. I have a return in the click of each button. That doesn't return. Also, I thought the first form would still be visible & the password form would appear on top of it. That didn't happen. Can you help?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only