Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private datasessions - calling forms
Message
From
29/07/1998 09:40:48
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00122104
Message ID:
00122276
Views:
15
You instanciate the form first which has no information about what firm to display data for. The controls are already bound. Then you set the information in Firms based on what was selected in Executives. Somewhere in Firms you have to execute a method to find the correct record and refresh the data in that form. I assume frmFirm.SwitchViews does not do that for you.

Reply -
That's exactly what frmFirm.switchviews does and the five lines before setup the appropriate parameters. It re-binds all the controls when it's finished.

It's almost at though the form isn't finished loading when switchviews is called.

I'm stumped. It worked fine last week when I referenced the form with _screen.forms().switchviews. I don't want to switch things back. There were other problems with that way of referencing the form.

paul
Previous
Reply
Map
View

Click here to load this message in the networking platform