Error 2059 (1 Viewer)

Ravi Kumar

Registered User
Joined
Aug 22, 2019
Messages
108
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

Registered User
Joined
Apr 9, 2015
Messages
3,429
The parameter is : acFormatPDF.
Which is numeric,so don't use text "PDF format"

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

Ravi Kumar

Registered User
Joined
Aug 22, 2019
Messages
108
Thank you sir .It is solved
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top Bottom