What I am wanting to accomplish is for the system to extract a pdf of the report per record. If follow what you say, it will only extract all the current reports i am extracting manually into a single report, not what I want. I want the code to extract all reports in pdf for each record on my form.
Imagine many business unit managers needing their own individual report of the performance of their unit. The report layout...
User Profile
Collapse
-
the recordsource of the form I am using to preview data is CostCentre - ENG
the recordsource of the report I am using is
CostCentre - ENG Query
however the recordsource of the report has a criteria:
[Forms]![REPORT PREVIEW/PRINT]![CC]
Hope this helps.Leave a comment:
-
Loop through recordset of form
I have a form and a subform. I have a button on the form to export to pdf a report. However I currently have to go through every record on the main the form and press the button to export the report specific to that particular report. How can I get my code to run through each record on the main form?
Private Sub Command15_Click ()
On Error GoTo Err_Command15_C lick
Dim stDocName As String
...
No activity results to display
Show More
Leave a comment: