Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object to Cursor
Message
From
29/05/2008 10:44:38
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01320019
Message ID:
01320242
Views:
17
Actually, what I did was create a cursor with a maximum number of fields and then APPEND BLANK and GATHER NAME for each object. I end up with some extra fields that aren't used for every record, but it solved the problem.

>I was thinking you may take a look at RS2Cursor method in VFP com utility and use some ideas from it.
>
>See http://support.microsoft.com/default.aspx?scid=kb;EN-US;262067
>
>>I have an object that I want to make into a cursor:
>>
>>
>>MyObject.Field01 = Value01
>>MyObject.Field02 = Value02
>>MyObject.Field03 = Value03
>>MyObject.Field04 = Value04
>>MyObject.Field05 = Value05
>>
>>
>>What is the easiest way to get that into a cursor like this:
>>
>>
>>Field Names:
>>Field01 Field02 Field03 Field04 Field05
>>
>>Row Values:
>>Value01 Value02 Value03 Value04 Value05
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform