Solved

Automatic reading of database values

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now