>I'm trying but even on standard converted labels that just have text it returns 'Property Genearal Information is not found' for a control whose caption is (literally in the field is the expression below including the equal sign and the quotes):
>
>="General Information"
>
>and I want to change it to General Information without the quotes and the equal sign.
>
>Using:
>
>?ocontrol.readexpression(STRTRAN(ocontrol.caption,'=',''))+"'"
>
>when ocontrol is the label object lblgeneral for instance.
>
Try something like
lc_caption = oControl.ReadExpression('Caption')
IF 'CHR(' $ UPPER(lc_caption)
oControl.Caption = "Hello"
ENDIF
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers