Proxy = "true" is actually the default. It's assumed that the most common use of a proxy object will be to get all fields, but not associations, etc. If you want to exclude fields you must specifically set proxy = "false"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ReturnFullObjects = true AND call loadObject
I will get an object, all its properties and its "retrieve automatic" associations,
if I set ReturnFullObjects = false AND
call loadProxy,
I get the object, the "proxy=true props", but not the associations
(even the "retrieve automatic" associations.
Very cool <grin>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am getting a list of objects no problem.
I cannot get a list of proxy objects though.
I use the exact same code, just change the following:
set my CRetrieveObject.ReturnFallObjects = false
call Cursor.LoadProxy instead of LoadObject.
I have one property for the class in my xml set to proxy=true
I always get full objects though. Do I need to set proxy=false to all other properties?
Yes.
Proxy = "true" is actually the default. It's assumed that the most common use of a proxy object will be to get all fields, but not associations, etc. If you want to exclude fields you must specifically set proxy = "false"
Thanks much.
Just so I am clear then, in general:
ReturnFullObjects = true AND call loadObject
I will get an object, all its properties and its "retrieve automatic" associations,
if I set ReturnFullObjects = false AND
call loadProxy,
I get the object, the "proxy=true props", but not the associations
(even the "retrieve automatic" associations.
Very cool <grin>