Print the variable on the same report-band as the field. Check the value.
Check record variables, possibly the variable is altered there.
Check if a field of your cursor has the same name.
Last, check for _VFP.SETVAR().
I think GoFish might search the fields of a frx file.
>Hi,
>
>I have three reports in my program, all three are very similar. There is a long description field that a user can set to print or not to print. Depending on the user selection a private variable plPrintDescription is either set to .T. or .F.
>In the report file (.FRX) the field has - in the property Print When - this variable.
>The setting is identical in three reports. But all of a sudden, one report does not recognize this variable and always prints this field. I even checked, in code, right before the report is called (REPORT FORM) that the variable is set to .F. And yet, the field is printed.
>What could have changed? How do I troubleshoot this?
>
>TIA
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]