Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error occurred?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00993574
Message ID:
00993768
Views:
16
>When I give the command
>
>REPORT FORM test.frx TO PRINTER PROMPT
>
>I get a messagebox that says "An Error Occurred." It is being trapped by VFP, not my error handler. I have re-written the reports. I thought maybe it was the reportlistener object I created. So I have tried and tried, but every now and again I get that error. Sometimes I will also get the error message out of memory. Yet if I run the same report to the screen it works everytime no errors.
>
>REPORT FORM test.frx TO PREVIEW
>
>Has anyone else experienced this?
>
>Thanks,
>Dale

You need to use TRY...CATCH to catch errors in reports.
Previous
Reply
Map
View

Click here to load this message in the networking platform