Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Switching DataSession's
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00968641
Message ID:
00968648
Vues:
8
>When I get stumped like this with my code, I just pass the variable in as a parameter and take it from there.


do u mean to pass (as a parameter) the ds to method and then use that number to set ds to, like the following:
LPara ;
   ..., ;
   nNewDSId

if set('datasession') <> nNewDSId
   set datasession to &nNewDSId
endif
i've tried that in a previous test were i had the exact same problem - didn't make no difference. also, the '_screen.ActiveForm.DatasessionId' does return the correct ds (3 in this case).

so, i am correct in assuming that this (my code/idea from my original post) should work?!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform