Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement