Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add a cursor/table to collections
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to add a cursor/table to collections
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01002159
Message ID:
01002159
Views:
67
Hello All,

I want ot add a cursor to a collection and reuse the cursor later:
* Gbm6165 is a table and is used in the workarea
loColl = CREATEOBJECT("collection")
loColl.Add(gbm6165,"gbm6165") && error: "variable gbm6165 not found"

.....

* I want to reuse the table from collection: 
sele loColl.Item("gbm6165") && error: invalid subscript reference
How could I do this?

TIA
Zakaria al Azhar
My blog on Actuaris.net
Next
Reply
Map
View

Click here to load this message in the networking platform