>Is there a way to determine if a controlsource was a table field or a property - variable?
>
>I need to know this to assign a new value to the controlsource of an object programmatically. I have added the "controlsource" property to a container and i need a way to reassing a value to this controlsource.
>
>Fields use the REPLACE command and properties/variables use the "=" assignation.
>
>Any clue?
if type('m.'+justext(this.controlsource))<>"U" && It's a variable
If it's not broken, fix it until it is.
My Blog