Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get data from different Datasession
Message
De
04/05/2006 04:16:06
 
 
À
03/05/2006 14:59:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01118879
Message ID:
01119046
Vues:
21
Hi Zahid,
See also FAQ#29297

>Hi
>How to get data from a different Datasession to current datasession
>from formA to formB.
>
>Form A & B both have private datasessions.
>
>formB is Model in the Init of formB
>
>***************formB.Init()**************
>lparameters lnDataSessionId
>*
>local lnCurDS
>*
>lnCurDS = this.datasessionid
>set datasession to lnDataSessionId
>select * from sal_tmp into cursor tmp
>set datasession to lnCurDS
>*****************************
>
>
>Cursor tmp is created in formA's datasession I want it to be created in formB's datasession. How to do this.
>
>I run formB from formA like this:
>
>  do form formB with ThisForm.DataSessionID
>
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform