>Hi Fabio,
>
>Hmm, is not first case with IIF(), but early case was fixed...
>
>You must use another construction
>
>IF thisForm#this
> xx=this.parent
>ENDIF
>...
>
>
>MartinaJ
>
Hi Martina,
it is not difficult to find alternative solutions,
but it is very annoying to remember language development workarounds.
However, the error occurs if:
an object is evaluated in a comparison of IIF () or ICASE()
and the expression returned an object that evaluated .parent.
>>Run the attachment form.
>>Click on the botton.
>>try to release the form.
>>
>>The form is locked.
>>
>>I don't find a way to release it
>>without a CLEAR ALL command.