I get an error for my code:
compile error: Expected: =
DoCmd.OutputTo (acOutputReport, _
ReportName & " " & Load, _
acFormatPDF, _
"\\drive\Reports\" & ReportName & " " & Load & " " & Year(Date) & Month(Date) & Day(Date)& ".pdf")
I have Access front-end and SQL-Server backend.
What do I need to do to fix this? I am still a beginner with VBA.