Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object to Cursor
Message
From
28/05/2008 15:24:14
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:
01320072
Views:
15
>>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
>>
>
>Create the cursor and GATHER NAME from the object would be one way.

I will not always know the number of fields. Some objects will have 1 field, others may have 20 fields.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform