Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing DataSessionID's
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00157306
Message ID:
00157478
Vues:
18
Chad,

If the second form is switched to Default DataSession and it's launched from a method of the first form, it'll automatically open in the first form's private DS.

>I thought I had accomplished this before (maybe I hadn't), but I'm trying to launch Form2 from Form1 and pass it Form1's DataSessionID. Both forms are in PrivateDataSessions. I'm passing form1's reference to form2. In the init of form2, I've tried this:
>
>1) This.DataSessionID = poCaller.DataSessionID
>
>2) Set DataSession To poCaller.DataSessionID
>
>After either of those (or whatever you can give me that will work <g>), I'm looping through the controls and setting the control sources to the fields of a table that's open in form1. I keep getting "Variable Does Not Exist" or such.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform