I'm using this VBA code to attempt to open a report. But it isn't working. Note that PROGRAM_YEAR in a number field. I'm getting an error: "Microsoft can't find the field '|1' referred to in your expression."
DoCmd.OpenReport "rptWorkOrderItemDetails", acViewPreview, , [PROGRAM_YEAR] = Forms!frmReportsMenu.cboReportYear