Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Create cursor from object

$
0
0
Create cursor from object
FoxPro Programming
Create cursor from object
01/01/2012
09:39:35 PM
3ED1AFE3F Show this entire thread in new window
From:
To:
All
Attachments:
None
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)




Viewing all articles
Browse latest Browse all 10393

Trending Articles