I had to load a backup version, lose a day's work and start over.
I only had to reload the form screen to get it to work.
Other screens using the same control never stopped working.
Strange ...
>>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
>
>
>or
>
>lcTableName = (.cDisplayTable
>...USED( (lcTableName)) ?
Best Regards
Don Simpson