information massage when a record entered to the DB

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,
I want to know if i can get an information massage when a new record enters
to my database,
1. when the access program opens.
2.when the access program close.
remark! the records coming from the intra-net, not from the access program.

my access version is 2003

thanks!
 
No. Access lacks triggers. There is no event that fires at the engine level
when a new record is added.

You will therefore need to design it at the interface level, so that when
your (browser-based?) interface appends a new record, it also sends the
(email?) message to give you the notification.

Alternatively, you would need to leave Access running, with a form open, and
use the Timer event of the form to periodically check for new records and
SendObject to fire the email.
 
Allen already did explain.

In your code, where you have the code to append a new record, you need to
include code so that it also sends the message to give you the notification.
 
Your original post said:
remark! the records coming from the intra-net,
not from the access program.

If this means your interface is a browser, it probably uses ASP or PHP to
access the database. If so, you need to modify the code in the ASP or PHP
script.

If the database is being opened in Access across your network, you can use
the AfterInsert event procedure of the form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top