J
JR Hester
Access 2007 on WinXP with Outlook 2007 and Exchange server 2003
I have a operational report based on a query using a temprary variable to
acquire start and ends dates for the report. Searches in the forum led me to
trying the following code in the RUN line of a switchboard option box.
DoCmd.SendObject acReport,"rpt ConfirmationLetter4testing*",
acFormatRTF,"ContactNumber",,,"test confirmation",,True
I keep getting a dialog box upon execution stating " There was an error
during execution"
rpt ConfirmationLetter4testing* functions as expected when ran independently
of the option button.
Any suggestions how I might direct each report to teh email address included
in the Query will be appreciated.
Thank you,
I have a operational report based on a query using a temprary variable to
acquire start and ends dates for the report. Searches in the forum led me to
trying the following code in the RUN line of a switchboard option box.
DoCmd.SendObject acReport,"rpt ConfirmationLetter4testing*",
acFormatRTF,"ContactNumber",,,"test confirmation",,True
I keep getting a dialog box upon execution stating " There was an error
during execution"
rpt ConfirmationLetter4testing* functions as expected when ran independently
of the option button.
Any suggestions how I might direct each report to teh email address included
in the Query will be appreciated.
Thank you,