PC Review


Reply
Thread Tools Rate Thread

Insert form information into an email

 
 
=?Utf-8?B?c2N1YmFkaXZlcg==?=
Guest
Posts: n/a
 
      20th Feb 2007

I hope posting it here will provide a response.

I'm already able to open an email using a command button.

What I would like to do is be able to press a button, open an email and
insert information from fields from the form into the body of the email.

cheers!!
 
Reply With Quote
 
 
 
 
=?Utf-8?B?c2N1YmFkaXZlcg==?=
Guest
Posts: n/a
 
      20th Feb 2007

just so you know what I can do, this is it:

Dim strToWhom As String
Dim strMsgBody As String
Dim strSubject As String

strSubject = "Your Subject"
strToWhom = Me.Email
strMsgBody = "Hello!"

DoCmd.SendObject , , , strToWhom, , , strSubject, strMsgBody, True

What I would like

strSubject is a word like "reference" and the field to come after it
strToWhom is blank
strMsgBody to consist of all the fields I need from the form (does VBA
recognise carriage returns?)


"scubadiver" wrote:

>
> I hope posting it here will provide a response.
>
> I'm already able to open an email using a command button.
>
> What I would like to do is be able to press a button, open an email and
> insert information from fields from the form into the body of the email.
>
> cheers!!

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you insert information on a form you developed without mov. =?Utf-8?B?Q2luZHk=?= Microsoft Word Document Management 2 28th Mar 2007 12:12 PM
Email current form information =?Utf-8?B?QmV4YXIx?= Microsoft Access Forms 2 17th Feb 2005 11:11 PM
Creating an email from information on a form =?Utf-8?B?TmljayBQZWRkZXI=?= Microsoft Access Macros 0 28th Oct 2004 05:09 PM
Sending Form information to an Email address ... =?Utf-8?B?Sm9objEyMjY=?= Microsoft Frontpage 1 24th Mar 2004 02:28 PM
Help Form not sending information to my email Rock Richardson Microsoft Frontpage 2 29th Feb 2004 10:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:58 PM.