Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datasession with table.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00184048
Message ID:
00184114
Vues:
20
If the second form is called from the first, you can set the second form DataSession to 1 - Default. Then the two forms will share the same data session. Otherwise, you will have to play with the SET DATASESSION.

HTH

>Does anybody know how to get some data from another datasession without setting : SET DATASESSION TO 1
>
>EX: I have a table opened in datasession 1 (table1.dbf) and another in datasession 2 (table2.dbf). The current datasession is 2.
>
>Why I dont want to do this : SET DATASESSION TO 1
> TMPVAR=TABLE1.FIELD2
> SET DATASESSION TO 2
> RETURN (TMPVAR)
>
> Because doing this, I loose all the controlsource in a Grid.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform