Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fatal Error / C5 on REPORT FORM TO PRINTER PROMPT PREVIE
Message
From
14/01/2005 02:15:16
Walter Meester
HoogkarspelNetherlands
 
 
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:
00977067
Views:
29
Hi laura,

Have you tried clearing the TAG, TAG2 and EXPR fields of the first record in the FRX file of the report ??

Good luck

Walter,

>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
>
>
>There are now close to 50 reports in the application. Users have reported the problem with many of the reports and I have seen the problem myself on many reports. I can't say for sure that ALL the reports have been affected, but I've seen it occur on a number of different types of reports from the simplest listings to reports where I hack the frx before running.
>
>The problem does not occur every time a report is run. Sometimes it will happen the first time a user attempts to run a report and sometimes not until the third or fourth time. Usually when the user logs back in to the application and tries again immediately, the report will run but sometimes they're thrown out again.
>
>I have tried to run a series of reports repeatedly in the same sequence with the same parameters. Eventually I always get the Fatal Error, but never on the same report in the same sequence.
>
>All the reports have had printer-specific info removed from the frx. I have replaced all non-TrueType fonts with TrueType and limited them to Arial, Courier New and Times New Roman.
>
>In addition, I have tried the following without success:
> Setting my default printer to Generic/Text Only
> Deleting the resource file, making it read only, and turning off resource file altogether in application
> Moving the application to VFP 8 (based on "Fatal Exception on Report Preview in Visual FoxPro 7.0" from List of Memory Exception Bugs Fixed in VFP8)
> Disabling write cache on the hard drive
>
>In VFP7, the error message is:
> The instruction at "0x00706a68" referenced memory at... (varies)
>In VFP8, the error message is:
> The instruction at "0x007a775f" referenced memory at... (varies)
>
>The first part of the message is always the same (within VFP version), no matter which report I was attempting to run when the problem occurred. This doesn't mean a lot to me, but perhaps it will to someone who knows more of the inner workings.
>
>I can't think of anything else to try. My users' patience is wearing thin and mine isn't far behind. Any suggestions will be welcomed.
>
>Laura
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform