Before I beat my head against the wall trying to do this, is there a way to use sql in the SendObject command?
For example...
Thanks in advance!
PJ
For example...
Code:
DoCmd.SendObject acSendQuery, "qWVR", acFormatXLS, "hooty.mcboob@taxi.com", , , "First Pay Defaults","Please find attached the report for [u]SELECT MAX(tWVR.dtmBusinessDt) FROM tWVR GROUP BY tWVR.dtmBusinessDt [/u]"
Thanks in advance!
PJ