Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO FORM followed by DO FORM?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00368666
Message ID:
00368687
Views:
19
>I am running a form, call it "myform1". I have a command button that runs "myform2" without releasing the original "myform1". That's what I want, but in the command button I have the following code that is supposed to let me run "myform2" followed by "myform3", but I want to run "Myform3" after I am done doing data entry into "myform2". Here is my command button on my original form that runs the other two forms back-to-back -
>
>DO FORM myform2 WITH ....
>DO FORM myform3 WITH .... TO ....
>
>How can I get "myform2" to run until I am done with it and press the Exit button on "myform2" before running "myform3"? "myform2" is a normal form. "myform3" is a modal form, but I don't think that has anything to do with what I am trying to accomplish. Does it?
>
>What happens is that "myform2" runs and then "myform3" runs right away and hides "myform2". So I never get to enter data into "myform2" because it is hiding behind "myform3". But I need to leave "myform3" a modal form because it is going to return a value to "myform1".
>
>Confused yet? Thanks for the help. It's probably something simple, but I don't know.

Yes, somewhat confused :) Why don't you launch myform3 from myform2?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform