Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Coding, syntax & commands
I know. That's why I mentioned about being "halfway" there. Thanks again for pointing me to Amembers(). Much appreciated.
>You will find the properties using amembers(). So you must make a simple For Each loop to find the names and their values.
>
>>Thanks Tore. I guess I'm not going to get the values with Amembers() but anyway, I'm halfway there.
>>
>>
>>
>>>Check out Amembers()
>>>
>>>>For example, if I have an object, myObj (based on empty class), that contains the following three properties:
>>>>
>>>>1) myObj.startdate = {^2000/01/01}
>>>>2) myObj.name = "Joe Blo"
>>>>3) myObj.age = 46
>>>>
>>>>is there any built in VFP function/command that can return me the name of each property and its corresponding value? I was hoping that I could pass in any generic object and have it's properties' names and values spit out.
>>>>
>>>>TIA,
>>>>Mike
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