473,387 Members | 1,572 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How do you automate Access to send an e-mail when a tables field is updated?

I have an Access Database that updates the staff status while they are at work. The table is updated with an active server page, that updates the fields. I would like to know if there is a way to e-mail the group when a staffs status changes? I just want it to include information from other fields in the table, including First Name, Last Name, Status and Comments.
Aug 3 '10 #1
3 2750
updated using queryies or in the table themselves?
Aug 3 '10 #2
The information is all listed on an internet page. The users click their button, which takes the to the active server page. This gives them the opportunity to select in or out and leave a comment. When they submit, it updates the database fields and in turn updates the web page which pulls the information from the database.
Aug 3 '10 #3
Steven Kogan
107 Expert 100+
It sounds like you want to trigger an event when data changes, even though the change is made on an active server page instead of from within Access.

You may be able to get that sort of functionality using built-in features of Access 2010 using Access Macros and SharePoint 2010. That's probably not your case.

SQL Server also has trigger events. Upsizing Access data to SQL Server isn't that difficult, but you'd want to have a SQL Server expert available for administration.

With MS Access itself you could rig up a system where if the status is changed a flag is set indicating a change was made but the email is not sent. Then you could run a query and vba code, perhaps launched from a form timer event, to see if any emails need to be sent and if so, to send the emails.

To send the emails automatically without warning messages you could use CDO. There is a thread for that at http://bytes.com/topic/access/answer...ail-cdo-access
Aug 3 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Si | last post by:
Hi Guys I am using this code to execute an Access VBA function from ASP: strDbName = strDataSource & "data\webjobs.mdb" Set objAccess = Server.CreateObject("Access.Application")...
10
by: Geoff Cox | last post by:
Hello Is it possibel to automate the access time allowed to a folder? I am using .htpasswd etc and would like to give say 0.5 hour access to users so that they can sample documents available on...
3
by: Brad Burke | last post by:
From a windows .Net app, I need to 1) check if MSAccess is already open to a certain Access application. If so, then open a form and find a certain record. 2) If not open, then open MSAccess and...
7
by: Mike Dwyer | last post by:
I need a VB 6 app to automate a microsoft access MDB application. Specifically, it needs to open a form in Access and read information keyed into that form. I know this is "old school" but I'm...
1
by: fred Oleary via .NET 247 | last post by:
Hi, I'm using HTTPWebRequest/HTTPWebResponse to automate accessto a website. To bypass the authentication pages, I'd like toappend the PC stored cookie in my initial"myHttpWebRequest.GetResponse()"...
2
by: ucasesoftware | last post by:
i start a process to send email via Outlook I have succes to build the email text, objet, sender... but i want to automate the "send"... i don't want my users to click on Send email button......
5
by: Sean | last post by:
Hi... I want to use the macro/sendobject (or any other procedure) to send the contents of a table (very small, ~5 rows/columns) as an Outlook message body, not as an attachment. Access 2000 will...
5
by: Darren | last post by:
Hello, we're fully paid up and signed up to a password protected site, so this isn't hacking. In this site we can download a price list in CSV format. What I'd like to do is have a PHP...
3
by: aniphilip | last post by:
Hi All, I have a requirement to automate Access functionality from Excel. I need to open Access, trigger button events and close Access from Excel. I Achieved opening Access from Excel. I...
36
by: trixxnixon | last post by:
is it possible to have access generate an automatic email based on a condition? say for example, once a record reaches a particular age, have an email automatically populate and send to the email of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.