Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Generic Reports in VFP6
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00345557
Message ID:
00345622
Views:
10
Larry, You'll need several steps.

First, make sure the report doesn't have a private Datasession.

Second, remove the table name from the fields on the report so they'll use the active cursor no matter what it is named

Third, before you call the report develop your cursor and check to be sure it has at least one record (no records and your preview will flash on the screen and then disappear. Printed report gives you a blank page).

Finally, after your report is done and tested, open it as a table with USE MyReport.FRX. Go to the first record Delete the contents of the TAG and TAG2 fields. Then look at the EXPR field (also the first record). Delete any printer -specific information, leaving lines that refer to orientation and other items that are not related to the printer you used when developing.

HTH
Barbara

>I recall somewhere that if you create a report in the report designer, you can delete a couple of the records in the FRX so that the report will work with any cursor. Can somebody tell me what these are?
>
>I keep getting "Index not found errors", and so on when I want to run a report created from a cursor.
>
>Many thanks.
>
>
>---- Larry
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform