I am using a Event Procedure attached to a button on a form. When clicking on the button, the procedure will run. I want the procedure to send a report to certain email addresses. I am using the Docmd.sendobject to do this. Two questions:
1) when you use the command Openreport, you have the ability to put a Where condition on the report to limit the records in the report. Is there a way to do this when using the SendObject command.
2) If I want to send the report as a Snapshot document, what is the Output format (example it I were to do this as an excel spreadsheet it would be acFormatXLS.
thanks in advance
1) when you use the command Openreport, you have the ability to put a Where condition on the report to limit the records in the report. Is there a way to do this when using the SendObject command.
2) If I want to send the report as a Snapshot document, what is the Output format (example it I were to do this as an excel spreadsheet it would be acFormatXLS.
thanks in advance