Question on emailing reports
I have an MS Access 2002 fe/ Sql Server be app that tracks employee info. I have numerous reports that I want to have e-mail functionality added to them but the only way I can get this to work is by using a kind of shaddy workaround. Currently I have a combo box that holds the name of the person a user wants to e-mail a report to then on the click event of a command button I run a version of this code:
stDocName = "rptSortEmployTerm"
DoCmd.SendObject acSendReport, stDocName, "Snapshot Format", [Combo4], , , "Attached Report", "Please find the report attached to this email", False
MsgBox "Mail Sent!"
where [Combo4] is the combo box with the persons name and I just paste the persons name in the {To:} section of the send line... Kind a clucky but it works...
NOW - what I would like to do is be able to import /or link the address book to the app so that I can get all of the employees instead of having to add them manually to the combo. The catch is that we are using Novell Groupwise 5.5 so to get Novell and MS Access to talk to one another is not the easiest thing in the world to do....
Any pointers?
Thanks in advance for any/all help on this!
Kevin
I have an MS Access 2002 fe/ Sql Server be app that tracks employee info. I have numerous reports that I want to have e-mail functionality added to them but the only way I can get this to work is by using a kind of shaddy workaround. Currently I have a combo box that holds the name of the person a user wants to e-mail a report to then on the click event of a command button I run a version of this code:
stDocName = "rptSortEmployTerm"
DoCmd.SendObject acSendReport, stDocName, "Snapshot Format", [Combo4], , , "Attached Report", "Please find the report attached to this email", False
MsgBox "Mail Sent!"
where [Combo4] is the combo box with the persons name and I just paste the persons name in the {To:} section of the send line... Kind a clucky but it works...
NOW - what I would like to do is be able to import /or link the address book to the app so that I can get all of the employees instead of having to add them manually to the combo. The catch is that we are using Novell Groupwise 5.5 so to get Novell and MS Access to talk to one another is not the easiest thing in the world to do....
Any pointers?
Thanks in advance for any/all help on this!
Kevin