Email when new record added to table

prepella

New member
Local time
Today, 08:47
Joined
Feb 11, 2003
Messages
5
Im using access 2000, and im new to access, what im trying to do is when a new record is added to a table, i would like it to automatically send an email of the record that was just added, how would i go about doing this, remeber this is new to me

THanks

Phil
 
Current event of your form:

If Me.NewRecord then
'send email
DoCmd.SendObject(args)
else
'old record do nothing
end if

Jon
 
Are you looking to bypass Outlook Security or just send with the confirmation?
 
What Im doing is filling in a form from a web page, that adds a record to a table, what has to happen is when the new record
gets added to the table all the information from that reocrd and only that record needs to be emailed to a dispatcher as soon as the record is entered into the database, sorry that i was not clear on this. My problem is how do i accomplish this, im very new to access.

Thanks Phil
 
If you are gathering the information in a web form I would think it would be a better idea to trigger the email at the time of submission. Does the server your form is stored on support ASP?
 
The web page you are using is it and ASP page?

If it is I can help. I created a quotes system that will e-mail the sales department when a company has uploaded a quote.
 

Users who are viewing this thread

Back
Top Bottom