Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2008 Server
>>I have an object that I use to populate a table using SCATTER/GATHER NAME, but there is not a one-to-one field for each object property. I want to be able to create a cursor from all the properties in the object and populate it for debugging. I want to be able to see all properties for the object and all rows as it is populated during a loop. If I add a property, I want that to automatically get added as a field in the cursor.
>
>Have you considered looking in the Locals window of the debugger? It is a treeview, with objects having + signs you can click to see their properties.
Yeah, I need to have something that will give me 1 row for each loop. The object is created each time the loop executes and I basically need to create a cursor/array that has each object as 1 row. If the loop runs 20 times, there will be 20 rows. Sergey's code does it sideways to what I need and I don't have the time to rewrite it to work the way I need. I was thinking there would just be a simple way to handle it, but I guess not.
It's like I need CREATE CURSOR FROM oObject and then I could SCATTER/GATHER for each loop after that.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only