I have a report that runs formatting code in the load event. However, the report is normally saved off as a pdf so I added a button with the following code:
strPath = Application.CurrentProject.Path & "\" & Me.cboCA.Column(1) & ".pdf"
DoCmd.OutputTo acOutputReport, "rptCAA", acFormatPDF, strPath
this works but the formatting code is never triggered. I have tried adding the code in several different report events but can't seem to get it to run when the above code runs.
Any help is appreciated!