I have a niggling printing issue but some background first.
First thing - my reports are NOT summary reports therefore i have no grouping levels etc etc. Each report is specific to a "Health Test". A full "Health Assessment" contains multiple Health Tests.
eg Health Assessment A consists(Test A, Test B & Test C) while Health Assessment B consists(Test A, Test C & Test F).
I have a print report macro that steps through each Test, determines if the Test was completed as part of the overall assessment and then either prints the test report or skips the test report (True = Print, False = Skip). The test reports are printed to the default system printer which is a PDF printer emulation (Cute PDF) as it appends each report as it is printed resulting in a multiple page assessment report rather than a series of individual PDF Reports.
My problem is that i often find the reports are not printed in the same step order that they appear in the macro.
eg. Macro print order is (Report A,B,C,D,E,F etc) but the actual print order might be (Report A,B,D,C,E,F etc)
Each report is generated based on Queries that are linked by Client ID and an Assessment ID. Many of these queries have varying degree's of calculations involved.
I think maybe occasionally Access gets caught up running the calculations of one report and starts running the print for the next report before finishing the previous report. (Just guessing)
I am wondering if there is anyway to put a refresh/requery action in the macro between print actions? OR maybe a time delay?
This is a real thorn in my side as the Boss picks this type of thing up very quickly, so any assistance or idea's would be greatly appreciated.
Cheers
Nathan
First thing - my reports are NOT summary reports therefore i have no grouping levels etc etc. Each report is specific to a "Health Test". A full "Health Assessment" contains multiple Health Tests.
eg Health Assessment A consists(Test A, Test B & Test C) while Health Assessment B consists(Test A, Test C & Test F).
I have a print report macro that steps through each Test, determines if the Test was completed as part of the overall assessment and then either prints the test report or skips the test report (True = Print, False = Skip). The test reports are printed to the default system printer which is a PDF printer emulation (Cute PDF) as it appends each report as it is printed resulting in a multiple page assessment report rather than a series of individual PDF Reports.
My problem is that i often find the reports are not printed in the same step order that they appear in the macro.
eg. Macro print order is (Report A,B,C,D,E,F etc) but the actual print order might be (Report A,B,D,C,E,F etc)
Each report is generated based on Queries that are linked by Client ID and an Assessment ID. Many of these queries have varying degree's of calculations involved.
I think maybe occasionally Access gets caught up running the calculations of one report and starts running the print for the next report before finishing the previous report. (Just guessing)
I am wondering if there is anyway to put a refresh/requery action in the macro between print actions? OR maybe a time delay?
This is a real thorn in my side as the Boss picks this type of thing up very quickly, so any assistance or idea's would be greatly appreciated.
Cheers
Nathan