Solved

Automatic reading of database values

Posted on 1999-01-28
3
121 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

739 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