Hi
Could someone point me in the right direction.
I have made an email button from the wizard.... but what i want it to do is send the selected record (a quote) and sendr eport as PDF and to the named address email for that company contact.
Coiuld someone advise, this is the code thus far
stDocName = "Quotedem"
DoCmd.SendObject acReport, stDocName
I do have another bit of code that previews the report by type of Quote survey (see below) and this is waht needs to happen accept email instaed of preview report, so I have tried adapting it but no luck so far ....
stDocName = "quotedem"
DoCmd.OpenReport Combo38.Column(2), acPreview, , "type = '" & Combo38.Column(1) & "' AND IDquote = " & idquote
Thanks
Could someone point me in the right direction.
I have made an email button from the wizard.... but what i want it to do is send the selected record (a quote) and sendr eport as PDF and to the named address email for that company contact.
Coiuld someone advise, this is the code thus far
stDocName = "Quotedem"
DoCmd.SendObject acReport, stDocName
I do have another bit of code that previews the report by type of Quote survey (see below) and this is waht needs to happen accept email instaed of preview report, so I have tried adapting it but no luck so far ....
stDocName = "quotedem"
DoCmd.OpenReport Combo38.Column(2), acPreview, , "type = '" & Combo38.Column(1) & "' AND IDquote = " & idquote
Thanks
