Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reports with no empty data environment
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00341722
Message ID:
00341735
Views:
21
>I have a report that prints only when there has been an application error (I'm hoping it never gets printed . . .) - giving details of the error.
>
>The report has a three text boxes - none of which are tied to a table. When I test this report (i.e invoke an error on purpose in the app) I get an Open Dialog box - weird stuff. If I click on OK without picking a table, the report prints like it should.
>
>Any idea as to why I'm getting an Open dialog box when I try to print the report? There data enviroment for the report is empty.

Allan,
To print a report you MUST have a table to print at least one detail line. If you don't then no report. Create a temp cursor with one record before running the report and select that cursor before running. Since you don't currently have any table I assume all your data is comming from mem vars.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform