Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataSessions
Message
From
20/10/2000 11:05:01
Wouter Schut
Www.Selectif.Nl/Www.Seweso-Systems.Com
Andelst, Netherlands
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
DataSessions
Miscellaneous
Thread ID:
00432085
Message ID:
00432085
Views:
55
Hi,

I have an object wich is instantiated at the start of my application, now I want to pass a cursor from a form wich is in a private datasession to the global object wich will do some kind of processing.

Doing something like (in an onclick event):


iLastSession = THISFORM.DataSessionId
THISFORM.DataSessionId = 1

cMyCursor = "BlaBlaDynamic"
CREATE CURSOR &cMyCursor (id C(8) ....)

GlobalObject.DoSomething(cMyCursor)

THISFORM.DataSessionId = iLastSession


does not work! now it looks like i loose all my data, my grid
wich was bound to a table becomes empty.

Does anyone know what i do wrong?

Thankz
Next
Reply
Map
View

Click here to load this message in the networking platform