Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving from one form to another form
Message
 
 
To
04/03/2003 14:06:02
Julie Ball
Gardner Publications, Inc.
Cincinnati, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00732459
Message ID:
00761085
Views:
21
>Form 1 (frmPFDMain): Button that calls the second form:
>
> SELECT pfdaddr
> recsave = RECNO()
>
> THISFORM.Hide()
> IF WEXIST('frmAddList')
> frmAddList.Show()
> ELSE
> DO FORM pfd_addlist
> ENDIF
>
>Form 2 (frmAddList): Button that calls for the Form 1 to return:
> THISFORM.Hide()
> frmPFDMain.Show()
>
>One thing though, Form 1 (frmPFDMain) is part of a form set (frsPFDAddr) but form 2 is not part of that form set. Does that matter?

It could when trying to show Form1 again, but I do not think it would be a problem showing Form2. I do not use formsets and you will not find many who would recommend their use. To show Form1, you may have to use frmSetName.frmForm1Name.Show() but this is a guess since I do not use sets.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform