Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fatal Error / C5 on REPORT FORM TO PRINTER PROMPT PREVIE
Message
De
13/01/2005 16:33:28
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
00976932
Message ID:
00976953
Vues:
22
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform