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
>>