>>
>>Virusim,
>>
>>I assume, that the above code is just a pseudo-code, because report command should be read:
>>
>>
REFORT FORM frmDisplay TO PRINTER NOCONSOLE
>>
>>Anyway, perhaps you re-declare your variable somewhere, say, you have report variable cCount in addition to varialbe declared in a program.
>>
>>For experiment sake, you may temporary declare your variable as PUBLIC and see, if it makes any difference. Say, quite recently we found, that local variables don't work with report commands, while private do, if report is called from the program.
>
>Local variables work with report.
>Cetin
I will try to find a recent thread, where this was a problem.
Ok, check this thread: Forum: Visual FoxPro Category: Reports & Report designer Title: Re: Memvars disappearing after page 1 Thread #
529967 Message #
530045
If it's not broken, fix it until it is.
My Blog