Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Automatic reading of database values

Posted on 1999-01-28
3
Medium Priority
?
126 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 400 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

722 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