Access Reports to PDF format questions
Hello,
I am stuck hereSee below)
I put this is my module;
Public Function GhostscriptIt(A_reportname, A_where)
Dim gsdir As String, gsscript As String
gsdir = "c:\gs\gs8.50\"
End Function
Public Function SaveASpdfFile(A_reportname, A_where)
A_reportname = "rptFirstRFQsend"
A_where = Forms![frmFirstRFQ]![RFQTWAID]
Public Function MailAsPDFAttachment(A_reportname, A_where, A_to, A_subject, A_body, A_sendnow)
End Function
This is the code I use to attach and send an RTF report:
strDocName = "rptFirstRFQsend"
strMailSubject = "New RFQ for P/N" & Forms!frmFirstRFQ!PartNo + " - " & Forms!frmFirstRFQ!InstrList!OriginalItemText
strMsg = "The attached RFQ has been requested. If applicable, please check your RFQ Inbox."
DoCmd.SendObject ObjectType:=acSendReport, _
ObjectName:=strDocName, outputformat:=acFormatRTF, _
To:=Forms!frmFirstRFQ!cmbToolEng, Subject:=strMailSubject, MessageText:=strMsg
Am I close?
Thank you.
Ken