Thank you for your message. I found the cause of the problem; I looked in the mirror :) I changed one little thing and I could not even do this right :)
>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
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham