Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private datasessions - calling forms
Message
De
28/07/1998 16:17:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Private datasessions - calling forms
Divers
Thread ID:
00122104
Message ID:
00122104
Vues:
47
I'm having a problem with private datasessions in VFP 5.

I use private datasessions in two main forms in my app. One lists executives the other lists firms. I want to be able to click a button on the "executives" form to run the "firms" form and see detailed info about that executive's firm.

The forms are run with the "do form linked" command (do form execs name frmexecs linked). I have a button on the "executives" form that stores the firm name to a field and requeries a view on the "firms" form. If the "firms" form isn't running it first runs it then requeries the view. The problem is that if the "firms" form needs to be run it crashes saying that the view I want to requery isn't open.

I'm sure it's open, but calling this newly run form from another form
doesn't seem to allow enough time to switch to the private datasession of the "firms" form.

I'm wondering if anyone has had this problem. I'm not sure if it's the "linked" part of the do form command. (I didn't have this problem when I referenced the form with "_screen.forms(x)") or if there's something I'm missing with the private datasessions.

Thanks.

paul
paul.witt@paragonco.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform