Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private datasessions - calling forms
Message
De
29/07/1998 09:40:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00122104
Message ID:
00122276
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform