PC Review


Reply
Thread Tools Rate Thread

Automatic Notification

 
 
=?Utf-8?B?QnVua3k=?=
Guest
Posts: n/a
 
      31st May 2007
I have a Dreamweaver application that has successfully written to a spl table
in Access. I just need to have Access know when a new record has been
written to the spl table so I can have it kick off a series of macros. I can
(I think) figure out all the macros but how to get things started when a new
record comes in is driving me nuts. Ideas?

Thanks for your assistance!
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmVycnkgV2hpdHRsZQ==?=
Guest
Posts: n/a
 
      31st May 2007
Unfortunately Access does not have table-level triggers like some other
database. If it did, this would be easy.

You could use the Timer event of a form to do a DCount of the number of
records in the table in question and compare that value against something
stored in another table. If it is greater, run the macros. Also if it is
greater, update the table holding the value.

Another idea would be to add a field to the spl table called NewRecord. Make
it a Yes/No field with the default being Yes. On the On Timer event of a form
(which must be open but can be hidden) check every few minutes for new
records. If it finds one, runs the macros then updates all the records in the
NewRecord field to No.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.

"Bunky" wrote:

> I have a Dreamweaver application that has successfully written to a spl table
> in Access. I just need to have Access know when a new record has been
> written to the spl table so I can have it kick off a series of macros. I can
> (I think) figure out all the macros but how to get things started when a new
> record comes in is driving me nuts. Ideas?
>
> Thanks for your assistance!

 
Reply With Quote
 
=?Utf-8?B?QnVua3k=?=
Guest
Posts: n/a
 
      31st May 2007
Thank you for the information and the options. Super Ideas! Thanks

"Jerry Whittle" wrote:

> Unfortunately Access does not have table-level triggers like some other
> database. If it did, this would be easy.
>
> You could use the Timer event of a form to do a DCount of the number of
> records in the table in question and compare that value against something
> stored in another table. If it is greater, run the macros. Also if it is
> greater, update the table holding the value.
>
> Another idea would be to add a field to the spl table called NewRecord. Make
> it a Yes/No field with the default being Yes. On the On Timer event of a form
> (which must be open but can be hidden) check every few minutes for new
> records. If it finds one, runs the macros then updates all the records in the
> NewRecord field to No.
> --
> Jerry Whittle, Microsoft Access MVP
> Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.
>
> "Bunky" wrote:
>
> > I have a Dreamweaver application that has successfully written to a spl table
> > in Access. I just need to have Access know when a new record has been
> > written to the spl table so I can have it kick off a series of macros. I can
> > (I think) figure out all the macros but how to get things started when a new
> > record comes in is driving me nuts. Ideas?
> >
> > Thanks for your assistance!

 
Reply With Quote
 
Jaime Mediavilla
Guest
Posts: n/a
 
      1st Jun 2007
si
"Bunky" <(E-Mail Removed)> escribió en el mensaje
news:919BA231-2836-4153-ABBD-(E-Mail Removed)...
> I have a Dreamweaver application that has successfully written to a spl

table
> in Access. I just need to have Access know when a new record has been
> written to the spl table so I can have it kick off a series of macros. I

can
> (I think) figure out all the macros but how to get things started when a

new
> record comes in is driving me nuts. Ideas?
>
> Thanks for your assistance!



 
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
automatic notification to other users =?Utf-8?B?RGVib3JhaEtlYQ==?= Microsoft Access 0 10th May 2006 09:43 PM
Automatic Notification cabbitt Microsoft Excel Misc 1 2nd Apr 2006 05:21 PM
Automatic Updates - Notification Sanford Windows XP New Users 6 19th Oct 2005 06:12 PM
Automatic notification =?Utf-8?B?TWFqaWQ=?= Microsoft ASP .NET 1 24th Feb 2004 12:49 PM
automatic notification Kevin Microsoft Access Form Coding 0 10th Nov 2003 06:42 PM


Features
 

Advertising
 

Newsgroups
 


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