Re: Other Users don't see table updates



Database systems are not real time network communication
services. Where people really want real-time network
communications, they frequently use UDP or TCP over IP.

Where a database is also required, and there are only a
small number of users, people sometimes kludge live
updates by polling the database.

You can speed up the database polling and reduce the
load on the system by using a semaphore table (so the
users poll the semaphore table instead of polling the
data tables).

To get any of this to work, you also need to make
sure that the clients write back to the server in a
timely fashion. This also slows the clients and loads
the server, but again, it is justified in some cases.

Theoretically, you could use SQL Server to send a
network message to other users, but I've never seen
it done that way - normally, if you are going to
write code to send network messages, you can put it on
the clients anyway.

Rarely, people used sql server to send mail messages -
- this was the source of the infamous SQL Server worm
that almost brought down the internet - but that wasn't
really intended for real-time display update either,
because mail messages typically go through a "store and
forward" mail server.

(david)


"rdemyan via AccessMonster.com" <u6836@uwe> wrote in message
news:5d04d2b1ef7c5@xxxxxx
How does one handle the situation where two different users are looking at
bound forms that display data from a table.

User #1 makes a change to the data, but User #2 is just perusing the data.
User#1 has his bound form updated, but User#2 does not.

In this case User #2 is not seeing the actual current state of the data,
unless he/she does something to cause the data to refresh.

How do developers handle this, if at all?

If it were SQL SERVER as a backend, could one use a trigger on the table
to
cause screens to refresh of all users currently viewing data from the
table
that was updated.

I haven't given this much thought before, but now I'm wondering how this
is
handled.

Thanks.

--
Message posted via http://www.accessmonster.com


.



Relevant Pages

  • Re: changing db location on sql2000
    ... Can you not back this database up? ... backups do support UNC paths...and ... manipulated some and put into a new sql server system. ... Therefore I wish MS had let us decide if it was ok to use a usb or network ...
    (microsoft.public.sqlserver.setup)
  • Re: changing db location on sql2000
    ... Tibor Karaszi, SQL Server MVP ... Therefore I wish MS had let us decide if it was ok to use a usb or network share or whatever to store the data. ... Since your USB drive was showed as a network share, SQL Server could not use it for storing database files. ... If your database is very large, you may consider using SAN, NAS etc which are fast and scalable network storage solutions. ...
    (microsoft.public.sqlserver.setup)
  • ODBC Connection with SQL Managed Provider
    ... on a "network drive". ... database using the Microsoft .NET Framework 1.1 Data Provider for SQL ... authorizing the user against a table in the SQL server database. ... for the app to display the "splash" screen (which is the first thing it does ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Linked Tables Losing Data
    ... Jerry Whittle wrote: ... network is losing records. ... industrial strength database like SQL Server or Oracle. ... In all cases, even with SQL Server and Oracle, nothing beats a recent, ...
    (microsoft.public.access.tablesdbdesign)
  • Re: MS Access DAO -> ADO.NET Migration
    ... William Vaughn ... Microsoft MVP ... Hitchhiker's Guide to Visual Studio and SQL Server ... My migration app works building a SSCE database file with imported data ...
    (microsoft.public.dotnet.framework.adonet)