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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement