Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create cursor from object
Message
From
02/01/2012 00:41:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Create cursor from object
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01532019
Message ID:
01532019
Views:
80
Let's say I have created a simple object from Empty, and that I have added sevaral properties (and values) to it. The properties could be Integers, floats, dates, strings, logicals, etc.

Now I want to create a cursor with fields named the same as the properties, and have 1 row in the cursor where the row has the values from the object properties.

Basically, I want a function like this:

CreateCursorFromObject(oMyObject, cCursor)
Next
Reply
Map
View

Click here to load this message in the networking platform