J
jmslab01
Hello,
I'm using 2 buttons for reporting counted values from a tableform.
The counted values are the results of all records and the report now
shows as much pages as there are records.
On each page the same data is reported.
Problem now is that when the user push on printreport then...... he
got a lot of (the same)pages.
Till now I solve it to say.... only print the first page.
Is there an option that the report shows only page 1 of 1, so the user
can only print this one.
Below the macro linked to 2 buttons for the same report.
----------------------
'Based on the filter:
DoCmd.OpenReport "RExxx", acPreview, , Me.Filter
Reports!RExxx.OrderBy = Me.OrderBy
Reports!RExxx.OrderByOn = True
----------------------
'Based on all records:
DocName = "RExxx"
DoCmd.OpenReport DocName, A_PREVIEW
----------------------
help me out please,....
regards,
Johan.
I'm using 2 buttons for reporting counted values from a tableform.
The counted values are the results of all records and the report now
shows as much pages as there are records.
On each page the same data is reported.
Problem now is that when the user push on printreport then...... he
got a lot of (the same)pages.
Till now I solve it to say.... only print the first page.
Is there an option that the report shows only page 1 of 1, so the user
can only print this one.
Below the macro linked to 2 buttons for the same report.
----------------------
'Based on the filter:
DoCmd.OpenReport "RExxx", acPreview, , Me.Filter
Reports!RExxx.OrderBy = Me.OrderBy
Reports!RExxx.OrderByOn = True
----------------------
'Based on all records:
DocName = "RExxx"
DoCmd.OpenReport DocName, A_PREVIEW
----------------------
help me out please,....
regards,
Johan.