Error 2059 (1 Viewer)

Ravi Kumar

Registered User.
Local time
Tomorrow, 01:06
Joined
Aug 22, 2019
Messages
162
I have created a button to my report to send a mail by attaching the report in pdf format .it was working good .but all of a sudden it is showing this error?
does anyone help me solve this?
Error message : Cannot find object 'l1'.
Arguments:3, Day wise Summary type wise, PDFFormat(*.pdf), xyz@ABC.com, , , Daily Rework stats, dear xyz.............(this is a test), Yes,
 

Ranman256

Well-known member
Local time
Today, 15:36
Joined
Apr 9, 2015
Messages
4,339
The parameter is : acFormatPDF.
Which is numeric,so don't use text "PDF format"

Docmd.sendto....acFormatPDF....
 

Ravi Kumar

Registered User.
Local time
Tomorrow, 01:06
Joined
Aug 22, 2019
Messages
162
Thank you sir .It is solved
 

Users who are viewing this thread

Top Bottom