Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What cursors are in a DataSession
Message
 
To
14/10/1999 11:19:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00276307
Message ID:
00276356
Views:
19
>The DE has Cursor objects. So any table added to the DE at design time, or opened by adding the object to the DE at runtime can be accessed as objects, but only s far as the exposed properties of those objects goes.
>
>Following is some code that enumerates the cursors in the DE:
>
>=AMEMBERS(laList, THISFORM.DATAENVIRONMENT, 2)
>IF ALEN( laList,1 ) > 0
> FOR i = 1 TO ALEN(laList,1 )
> loObj = EVAL("ThisForm.DataEnvironment."+laList[i])
>* Do something here with your object reference
> ENDFOR
>ENDIF

Thanks Erik,

I didn't realize I can add my table to the DE at run-time. That solves the problem.

BTW, are the cursors open in a DataSession objects?
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform