>So this is creating a property array. Is there no way to add and expose
>the data as individual properties themselves?
Kevin,
The code created properties and stored the values in each property. It also created an array to store only the names of the properties it created.
Because you are dealing with a COM object returning another object, the return object is also a COM object. You can't use simple VFP functions like AMEMBERS on a COM object to get a listing of its properties. You have to build that functionality into the COM object. The array is one mechanism.
You could also create a method that returned a string (coma separated, XML, etc.) with a listing of the new properties and use those in your evaluate statement. The new method could use VFP functions to get a listing of the properties and then build the string appropriately.
Regards.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao