Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Modal forms 3 deep & having parameter problems
Message
From
13/07/2000 19:50:36
 
 
To
13/07/2000 04:06:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00391670
Message ID:
00392139
Views:
11
>Hi,
>
>As the title suggests I have a modeless form where I click a button to take me to a Modal form for some data entry. One of the fields will bring up another form if validation of the field fails which then allows me to enter more information on a third modal form.
>
>It is this third modal form that is giving me problems. Parameters will not pass to the form and even setting up a parameter object, initialising a string parameter from the first modal form, this too seems to lose the just passed parameter and leaves a null string by the time it reaches the third form.
>
>Regards
>Doug Johnston

Sounds like a variable is going out of scope somewhere. When the parameters are passed into the modal form's .Init(), are you storing it/them someplace safe (e.g. custom form properties) before .Init() ends? Otherwise, they will go out of scope and be lost.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform