Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combining reports

Status
Not open for further replies.

alvechurchdata

Programmer
Nov 8, 2003
1,737
GB
I'm producing a four-part report in this application. Users like the new preview features in VFP9 but they'd really like to be able to page up and down through all four reports as a whole.

I have a vague memory that we can now concatenate reports but I can't find it here or in VFP Help. Is this new feature in VFP 9 or am I fooling myself?

Geoff Franklin
 
You're fooling yourself. What we do have, starting in VFP 8, is the ability to send multiple reports to the printer as a single print job.

Tamar
 
Hi Geoff,

Do you have XFRX? It has the ability to very easily concatenate multiple reports into one PDF.

Jim
 
I use VFP8 but I do remember reading that you can chain reports in VFP9 in preview mode also:

From:

Chaining reports

VFP 8.0 introduced the concept of chaining reports with the new NOPAGEEJECT and NORESET clauses. Unfortunately, this only worked with printing and not with previewing. In VFP 9.0, reports may be chained in preview mode as shown with the following code.

#define ListenerPreview 1
REPORT FORM Report1 OBJECT TYPE ListenerPreview NOPAGEEJECT
REPORT FORM Report2 OBJECT TYPE ListenerPreview NORESET

Now that chaining reports works much better, you can get very creative with putting this feature to good use. For example, you can create a Table of Contents or an Index to help the reader sort through a long report. Chaining helps you help your reader.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top