473,508 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Send new record as an e-mail

Les
Hi all, i am not a programmer but a dabbler, i need to do the
following.... The user must enter on a form a monetry amount, a
project number and his name. I would like him to then click on a
button and a standard e-mail format with the inputs added to the e-
mail at certain places must be sent to a certain person, who will not
change... Any help would be appreciated.

Apr 24 '07 #1
2 2265
"Les" <le*******@bmw.co.zawrote in message
news:11*********************@n15g2000prd.googlegro ups.com...
Hi all, i am not a programmer but a dabbler, i need to do the
following.... The user must enter on a form a monetry amount, a
project number and his name. I would like him to then click on a
button and a standard e-mail format with the inputs added to the e-
mail at certain places must be sent to a certain person, who will not
change... Any help would be appreciated.
Check the help for the SendObject method.

http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx

Keith.
www.keithwilby.com
Apr 24 '07 #2
Les wrote:
Hi all, i am not a programmer but a dabbler, i need to do the
following.... The user must enter on a form a monetry amount, a
project number and his name. I would like him to then click on a
button and a standard e-mail format with the inputs added to the e-
mail at certain places must be sent to a certain person, who will not
change... Any help would be appreciated.
As Keith noted, SendObject will meet your requirements.

One of the arguments you can pass within SendObject is the EmailBody
(messagetext). You can construct some sort of message as a string for
the email body.
strBody = "Dear " & Me.FirstName & ":" & vbNewLine & vbNewLine &
"This order " & Me.OrderID & " confirms our ..."

Also, you can create a report and send the report also as an attachment.
If you do create a report, make sure the report is one where the
recordsource filters for the record you are sending the message for.
Let's say on the calling form you have a field called OrderID. Your
report should reference the OrderID on that form. Also, you will need
to save the record prior to sending the email because it really isn't a
record in the database until it is saved.

Apr 24 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2255
by: JT | last post by:
Hi, I'm sure this isn't a hard one, can someone help? I'm adding a new record to a MySQL database every x seconds. I need to be able to inspect the content of a certain field in this incoming...
2
2517
by: Lisa Pearlson | last post by:
Hi, My php application (on Apache/Linux) needs to do the following: The PHP script receives a request from a client (binary), asking for certain records of data. My PHP script loops through...
2
8736
by: pilar | last post by:
Hi All, I'm using a code somebody posted here. I extract the records from a query which gave me just the entries for the current date, there will be maximum 5-6 entries per days and I need to send...
2
1475
by: NomoreSpam4Me | last post by:
Hi, i have a little problem: I have a form where people enter data and when they click on the save button it saves the data then open 2 field for my criterias and then open a rpt with that. But...
1
2138
by: moelleni | last post by:
Hi, I made an Access 2002 Database and wanted to automate it to sent the current record to Word 2002. So readed the article "How to send the current record to Word 2000 with automation" I tried...
3
4436
by: Satish | last post by:
Hi, I am facing problem with, sending data frm mdi child to mdi parent. I have search Dropdown in MDI form, depend on selection, or enter string(its like IE URL functionality) and click...
1
1760
by: Satish | last post by:
Hi, I am facing problem with, sending data frm mdi child to mdi parent. I have search Dropdown in MDI form, depend on selection, or enter string(its like IE URL functionality) and click search...
0
2720
by: neonspark | last post by:
I'm buidling some simple macro functionality for my app so the users can record a sequence of keyboard inputs and replay them reliably via some menu. Originally, I used: protected override bool...
6
2657
by: slider | last post by:
Hey all i am using Access 2003 on Win Xp and i have been trying to make this code send emails to the users stored on each record. So far is works, except in the body of the email i need it to say a...
4
3073
by: drec | last post by:
I currently have a script together that will display one record per page and allow the user to manually click through pages to view the next record. How can I translate this to printing the data? ...
0
7127
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7391
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7054
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7501
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5633
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5056
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3188
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.