export of MS Access report to pdf change size of landscape format

Eli H 1 Reputation point
2023-07-10T13:54:13.64+00:00

Hello, After export to pdf DoCmd.OutputTo acOutputReport, strRepName, acFormatPDF, pathreport & "Report_somename.pdf"

it happens sometimes that  page size change from 18.67 to 14.68 and it  cuts few records from page and  last column. Pdf looks like as on screenshot.

User's image

Microsoft 365 and Office Development Other
Microsoft 365 and Office Access Development
Microsoft 365 and Office Install, redeem, activate For business Windows
Microsoft 365 and Office Access For business Windows
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.