Solved

Problem with multiple accesses on a Microsoft Access DB

Posted on 2002-04-02
2
136 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 300 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

808 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