79794608

Date: 2025-10-20 04:49:39
Score: 1
Natty:
Report link

You can write a simple SQL statement that will bring only the 20, 30, etc. first records, and than write Visual Basic code for the export:

Me.RecordSource= "SELECT TOP 30 * FROM Customers ORDER BY CustomerID"  
DoCmd.OutputTo acOutputReport, "FormName", acFormatPDF, "pdfPath"  
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: דוד קלדרון