I have tried this code to a command button to save form as PDF in Access 2010
DoCmd.OutputTo acOutputForm, "form_name", acFormatPDF, _
me.textbox_name & ".pdf", True, "", 0
But it outputs all records to a PDF file. I just want to save current record to a file. Help!
DoCmd.OutputTo acOutputForm, "form_name", acFormatPDF, _
me.textbox_name & ".pdf", True, "", 0
But it outputs all records to a PDF file. I just want to save current record to a file. Help!