Hey guys.. I am using a docmd.outputto to pdf a form that is really a dynamic report based off of a user entry form..
here is the code I have
and then when i hit the button on the main form i get thisCode:DoCmd.OpenForm "CF33", acNormal, , , acReadOnly, acWindowNormal DoCmd.OutputTo acOutputForm, "CF33", acFormatPDF, "C:\Users" & fOSUserName() & "\Desktop\CF33_" & [Forms]![CF33]![TXTNUM1] & ".pdf", False, , 0, acExportQualityPrint
Code:run-time error '2501': the outputto action was cancelled