Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form won't run reports correctly
Message
 
To
11/07/2000 08:47:28
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00390679
Message ID:
00390720
Views:
8
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
Map
View

Click here to load this message in the networking platform