Hi,
I'm working on a "simple" report that forces a new page after every five records. Like many others, I'm using the following page break function:
I have added a text box in the detail section:
Name: txtRunCount
Control Source: =1
I have a page break control at the bottom of the detail section named pgbrk as well as "Me.pgbrk.Visible = Me.txtRunCount mod 5 = 0" In the On Format event.
This works perfect...
Problem 1:
I need to be able to add text below the Detail section just below my 5 records and not at the bottom of the page or at the end of my report.
I'm not too sure sure if the page break function is the best method for the limiting my five records per report page.
Problem 2:
How can I count the amount of records shown on each report? If if have 8 records, the first page should show 5 while the second page should show only 3.
I have to add that I have been through loads and loads of threads and while I have not found what I have been looking for, I have had great time reading all the questions, answers and suggestions. For sure a Top Noch A class technical site...
I'm working on a "simple" report that forces a new page after every five records. Like many others, I'm using the following page break function:
I have added a text box in the detail section:
Name: txtRunCount
Control Source: =1
I have a page break control at the bottom of the detail section named pgbrk as well as "Me.pgbrk.Visible = Me.txtRunCount mod 5 = 0" In the On Format event.
This works perfect...
Problem 1:
I need to be able to add text below the Detail section just below my 5 records and not at the bottom of the page or at the end of my report.
I'm not too sure sure if the page break function is the best method for the limiting my five records per report page.
Problem 2:
How can I count the amount of records shown on each report? If if have 8 records, the first page should show 5 while the second page should show only 3.
I have to add that I have been through loads and loads of threads and while I have not found what I have been looking for, I have had great time reading all the questions, answers and suggestions. For sure a Top Noch A class technical site...