Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access 2007 send email using FORM record

Status
Not open for further replies.

itsmythg

Technical User
Apr 4, 2001
34
0
0
US
I currently have a 2007 Access db i use to audit VPN user information. At this time i call a module that opens a report running a query tat requests ID# then opens a word doc with user information and instructions. Trying to eliminate some steps.

I would like to after entering my form information into DB just click button that would create outlook email showing form fields without requerying me again. Also would like the MAC# to be in Subject and need to add default text and hyperlinks too in the email.
[red]My Email fields wanted
«Email»
«MAC#»
«VPNUser»
«LastModified»
«NetworkLogon» [/red]

[blue]My current code:
'------------------------------------------------------------
' SendVPN_RemoteDesktopNotice
'
'------------------------------------------------------------
Function SendVPN_RemoteDesktopNotice()
On Error GoTo SendVPN_RemoteDesktopNotice_Err


DoCmd.SetWarnings False
' User Setup Info
DoCmd.OutputTo acOutputReport, "RemoteDestopSetup", "RichTextFormat(*.rtf)", "c:\temp\Access.rtf", True, "", , acExportQualityScreen

DoCmd.SetWarnings True
[/blue]

All the help i found on this was older versions of office and cannot seem to make work.
Any ideas on a better way to do this appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top