Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What DS # am I in?
Message
 
À
03/12/1997 17:13:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00063638
Message ID:
00063702
Vues:
65
>No problem.. I have the same problem all the time.. Now how about having to work on an app that has to keep track of those used datasessions and pass them as parameters?? I am (What a pain in the %^#*%# !!)..
>
>Thanx!
>
>Tony Miller
>Vancouver, Wa

Tony, I'm jumping in without all the facts, but are you passing the datasession to another form to match the data? If so, it might be easier to pass just the form object (do form2 with thisform) then store the 'thisform' object to a property in the INIT.
** INIT code
parameter oOldForm
Thisform.oOldFormProperty = oOldForm
** End
That way you can refer to the Form1 datasession with
nID = thisform.oOldFormProperty.DatasessionID
Also, you can run through the open forms using _screen.controlcount to check active DSIDs

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform