Here is my code for a print button that was working and now it is not. Any explanation why this may have quit working?
Is there a way to use a macro for this instead of the code. I am using the exact code with the exception of the button name and report name for other forms and it is working fine. This previews a report based on the records that is on the screen.
DoCmd.RunCommand acCmdSaveRecord
DoCmd.OpenReport "rpt_EQUIP_SALES_REPAIR_REQ", acViewPreview, , "[ProjectID] = '" & [ProjectID] & "'"
Thanks!