I am using the following code to generate a spreadsheet version of the report and send it by email in Access 97. It works fine but when tried to invoke this module in XP 2002 envirironment on a converted copy of the database, it does nothing. Surprisingly, this code works fine for snapshot format in XP.
Any insights?
oCmd.SendObject acSendReport, "rptProjects", acFormatXLS, _
"email address", _
, , "WOW Project Design Progress", _
vbCrLf & "Dear Rod" & vbCrLf & vbCrLf & "Attached is the quarterly Project Progress report for your info." & _
vbCrLf _
& vbCrLf & "Cheers" & vbCrLf _
& vbCrLf & "<Sender>", True
Cheers
AK
Note: Using Access 97 - still.
Any insights?
oCmd.SendObject acSendReport, "rptProjects", acFormatXLS, _
"email address", _
, , "WOW Project Design Progress", _
vbCrLf & "Dear Rod" & vbCrLf & vbCrLf & "Attached is the quarterly Project Progress report for your info." & _
vbCrLf _
& vbCrLf & "Cheers" & vbCrLf _
& vbCrLf & "<Sender>", True
Cheers
AK
Note: Using Access 97 - still.