Hello all,
I am trying to export a filtered report on button click. For some reason the filter does not work, and it exports a blank report. Please find the code below. Any help would be appreciated.
I am trying to export a filtered report on button click. For some reason the filter does not work, and it exports a blank report. Please find the code below. Any help would be appreciated.
Code:
DoCmd.OpenReport ReportName, acViewPreview, , "[Assignment Details].[Assignment ID]=" & TempVars!DataPass, acHidden