Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fatal Error / C5 on REPORT FORM TO PRINTER PROMPT PREVIE
Message
From
13/01/2005 16:33:28
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00976932
Message ID:
00976953
Views:
21
Hi Laura.

I have a VFP 7 application installed at several sites. Fatal Error/C0000005 errors are occuring frequently and always on the following line of code:
REPORT FORM (filename) TO PRINTER PROMPT PREVIEW


The only time that I have ever seen this behavior is when VFP did not like my printer driver. However, since you have switched to text only, this seems a little unlikely in your case.

The next likely suspect is the TO PRINTER PROMPT clause. I realize that you want allow the user to selected the default printer and number of copies before printing, but what happens if you remove this clause? If removing it gets rid of the error, e-mail me and I will send you a report preview formset class and custom toolbar that gives you this functionality without using the TO PRINTER PROMPT clause. It works with my framework, so you will have to modify i slightly, but it should work for you.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform