Solved

Automatic reading of database values

Posted on 1999-01-28
3
123 Views
Last Modified: 2010-05-03
I have a requirement to have multiple access to a database over a network.  The requirement also includes my VB5/6 application to constantly read the database for changes made by other systems on the network.

Is there anyway to be notified of changes to a database without having to constantly check the database contents using a timer?

If so, is there any code snippets available as I don't have a clue !
0
Comment
Question by:yermaw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Expert Comment

by:CraigLazar
ID: 1471135
Hi
So u have to see if anther application has accessed your access database ?
do u have to see or show if thath has happened , which record it was ?
Long shot but could u not use the windows api to tell you when the database was last modified. Keep track of thath value in a ini file and compare the dates and times .
just an idea

Craig
0
 

Author Comment

by:yermaw
ID: 1471136
Edited text of question
0
 
LVL 4

Accepted Solution

by:
arcusd earned 200 total points
ID: 1471137
how about trying this...

if your backend or database is an RDBMS , why not try to create a stored procedure
that will perform a certain event or message (ie display a message box) whenever a
the database was modified. Then from the server make a small app that will trap these messages . In this case you won't need to constantly check the database instead
the system will notify (thru yor app) that the database has been changed.
0

Featured Post

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month11 days, 5 hours left to enroll

628 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