I’m exporting the form. And trying to save current record as PDF format.
so I have removed the macro and trying a code
DoCmd.OutputTo acOutputForm, “Invoice”, _
acFormatPDF, “Invoice.PDF”, True
End sub
This one still exports all records in the form but I would like to filter the record I’m on...