I am getting a Runtime 2465 error message trying to open a report using the following routine:
DoCmd.OpenReport "rptSprechi", acViewPreview, , [qry_rptsprechi].[WasteType] = "UE", acIcon
I am getting a Runtime 2465 error message trying to open a report using the following routine:
DoCmd.OpenReport "rptSprechi", acViewPreview, , [qry_rptsprechi].[WasteType] = "UE", acIcon
Copyright © 2021 Jogjafile Inc.
The fourth argument (WhereCondition) is supposed to be a string value. Yours looks wrong to me.
Try it this way ...