SendObject Not going to PDF Automatically

A

ant1983

Hi,

When i do this SendObject it doesnt automatically go to pdf but rather
prompts me.

DoCmd.SendObject acReport, stDocName, asFormatPDF, "", "", "", "Training
Confirmation: " & txtCourse & " on " & dateStartDate & " to " & dateEndDate,
"Blah Blah"

ta

ant1983
 
P

Paolo

Hi ant1983,

I can tell you that asFormatPDF doesn't exist as a constant in Access.
Try using acFormatPDF

HTH Paolo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top