>>Hi everybody,
>>
>>Is there a simple way to get all properties that are changed on the form for some control into a convenient format? Say, I want to post a question and list all changed properties. I know I can hack the form and grab this info from there, but is there a simpler method?
>>
>>Thanks a lot in advance.
>
>You could do something like (didn't test)
>
>
>ln_props = AMEMBERS(la_props, lo_object, 0)
>FOR EACH lc_prop IN la_props
> IF PEMSTATUS(lo_object, lc_prop, 0)
> *-- Property changed
> ? lc_prop + " Has Changed"
> ENDIF
>ENDFOR
>
>
When I tried
lc_prop + ' = ' + evaluate(lc_Prop)
I got lots of errors - had to kill VFP. Is there any other way to get the value of the property?
Ok, good I asked - I figured it.
If it's not broken, fix it until it is.
My Blog