Tried it - makes no difference -
BR Don
>What about placing the parent object name before the property name:
>
>
USED(frmMyForm.cDisplayTable)
>
>
>HTH,
>Richard
>
>>I have a custom control code snippet which causes a data type mismatch error when it runs.
>>
>>The offending function is 'used(.cDisplayTable)', .cDisplayTable being a control property. When I look at the value of the property after the error it contains the correct value of the correct type.
>>
>>When I insert a 'assert .f. message ' before it and step thru the offending line with the debugger it runs OK - no error.
>>
>>This is driving me nuts.
>>
>>Oh - yea - this is a piece of code that has run sucessfully for years.
>>
>>BR Don
Best Regards
Don Simpson