Link to home
Start Free TrialLog in
Avatar of pkromer
pkromer

asked on

Access 2003, batch file to detect new record in table

I have a timestamp field named quote_created for when the record was created. I also have a field named send_email in that record.

If the quote was created more than ten minutes ago AND send_email=1, I need to be notified via email. We have Exchange 2007.

Possible?
Avatar of als315
als315
Flag of Russian Federation image

It is possible, but the easiest way is to use Access. You can run access application from batch file and close it after actions.
It seems like it would be more efficient to have the process that sends the email also send one to you.  Why do this in two steps when you can do it in one?
Avatar of pkromer
pkromer

ASKER

That's the point of this... sometimes the process which sends the initial email hangs up, so I need to get notified that it is hung up. The initial send is inside VB code that could be hung up for whatever reason, still investigating that. In meantime, I need to know when it hangs so i can go in, stop the service, close the mdb, start the service, and get the email sent that was supposed to go out.
ASKER CERTIFIED SOLUTION
Avatar of als315
als315
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial