Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get data from different Datasession
Message
From
03/05/2006 14:59:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
How to get data from different Datasession
Miscellaneous
Thread ID:
01118879
Message ID:
01118879
Views:
55
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
Next
Reply
Map
View

Click here to load this message in the networking platform