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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only