Try this:
before your code "report form..." add line "go top" or just "locate"
Does it help?
Best regards
*---------------your message below
>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! :)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only