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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

On_Format not firing for whole report

Status
Not open for further replies.

biggoober

Programmer
Oct 3, 2001
22
US
I have several large reports for which that I produce "Tables of Contents".

I have a table with two columns, description and pagenumber.

In the On_Open module I run a query that clears this table.
In the On_Format module of the group header, I add a line to this table, consisting of the group description and the pagenumber.

When the report completes, I run another report that uses this table to produce a "Table of Contents".

This works fine for two reports, but on the third I only get the items from the first page.

If I run the report in preview form, then click on the control to see the last page, and then run the table of contents report, it all works.

I even cut and pasted the code from a report that works fine, and this problem continues.

Any ideas on how to force a module to run for every page?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top