Sergey --
Yes, indeed, moving the focus off the grid before doing "REPORT FORM" cured the problem!
Thanks,
Jim
>Jim,
>
>Does
Forms with Grids and printing reports FAQ #15515 answer your question?
>
>>Am having an odd problem when doing
>> REPORT FORM (reportname) PREVIEW IN SCREEN
>>
>>I'm running a report off a cursor with two records. One of the fields is named "AMOUNT". The preview comes up fine. However, if I try to do any of the following:
>> Page Up
>> Page Down
>> Print
>>
>>I get the message
>>
Variable 'Amount' not found
>>
>>Now, curiously, I
am able to print this, without error, if I do not go through PREVIEW.
>>
>>(This variable is used in creation (summation) of some various report variables.)
>>
>>What's going on here?
>>
Jim Nelson
Newbury Park, CA