>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.
>
If the fields are always named a specific way, then this is a good and simple solution.
I was trying to figure out a more generic solution when field names and their types are not known in advance.
If it's not broken, fix it until it is.
My Blog