[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Problem with multiple accesses on a Microsoft Access DB

Posted on 2002-04-02
2
Medium Priority
?
146 Views
Last Modified: 2010-04-04
Hello! I am using Delphi to access a Microsoft Access Database via ODBC. The situation is this: I want to have many applications to connect to that database. My problem is that I want to all the applications know when a record has been edited, inserted or deleted, because it must refresh some information/calculations when that happens. The easiest way is with triggers, but I don't think they exist in ACCESS. I tried the after delete, after post, ... events but they only trigger in the application that made the changes, so they're no good(or should they be?).
Another aproach would be to have a system to the applications comunicate with each otherm but I guess the database components/events should do the job,right?
Anyone can help? This is kind of urgent.
Thanks all for your time.
Best Regards

Goncalo Martins
0
Comment
Question by:reina
2 Comments
 
LVL 10

Accepted Solution

by:
Jacco earned 1200 total points
ID: 6923086
To my knowledge only InterBase supports pushing events to connected applications.

Currently I am using a separate communication server to which all database clients also connect. The server is a simple message broadcaster.

The only other solution IMO is using TTimer triggered database poll actions... But that is quit oldfashioned...

Regards Jacco
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9002809
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept Answer from Jacco

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question