Hi all!
This problem has me stumped for a few weeks. I have 3 reports that are called from different parts in the application. All 3 reports works as expected.
Now I also have a somewhat complicated form that can also call those 3 reports. Like the other places in the application where those reports are called, I create a cursor containing the primary keys of the records I want to print, and call a PRG (the same PRG than in the other places in the app). When called from that form, reports won't print correctly: often, only one record is printed, other times it prints just a blank page.
When it goes weird is that if I put a browse just before printing, everything prints fine. Issuing a
BROWSE NOWAIT
does not help, however.
I would like to avoid redoing that form since it is complicated. Has anyone ever seen something like this? I'm using VFP6 SP3.
Going crazy! :)
Sylvain Demers