>Hi Tamar
>
>
>Look for any labels with Caption set a single = sign. Add a space in front of the =:
>
>=" ="
>
>
>Thank you so much for replying! I am not totally sure what you mean here - sorry to be so dumb. I don't need quotes around the "space-equal sign" combination do I? You just mean that I should simply push a space in front of the equals sign, no quotations characters or anything like that?
>
>Thanks.
>
>Angie
Yes, you would.
thisform.label1.Caption = " ="
A leftmost = in the Caption tells VFP to evaluate the following expression, e.g.
Local lcx
lcx="hello"
this.Caption = "=lcx"
The label caption will be
hello
. If the space was in front, e.g.,
this.Caption = " =lcx"
, you'd see
=lcx
when the form runs.
So if there's only an =, then it tries to evaluate nothing, which throws the error, so in the Properties window, it would be
=" ="
and in code, it would be
this.Caption = " ="
Insanity: Doing the same thing over and over and expecting different results.