Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. DAO Notification?

DAO Notification?

Scheduled Pinned Locked Moved Database
sysadminquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lynchspawn
    wrote on last edited by
    #1

    I have an .mdb file (MS Access) that each employee will be using to tell who is in or out of the office. The .mbd file will be located on one of our servers. A windows program currently polls at a certain interval to refresh the status. Is there some built-in way to have notifications sent from the DAO objects instead of polling? I was also considering writing a server app and have each users program register with the server and handle it that way. If there is a better way, please let me know.

    D 1 Reply Last reply
    0
    • L lynchspawn

      I have an .mdb file (MS Access) that each employee will be using to tell who is in or out of the office. The .mbd file will be located on one of our servers. A windows program currently polls at a certain interval to refresh the status. Is there some built-in way to have notifications sent from the DAO objects instead of polling? I was also considering writing a server app and have each users program register with the server and handle it that way. If there is a better way, please let me know.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      No. Access doesn't support triggers or notification. SQL Server 2000 and above does. SQL Server 2000 needs a Notification Services extension installed. Search MS's site. SQL 2005 comes with it standard. A workaround method would be to implement something like a service, or .NET Remoting singleton, that manages access to the database, updating required tables and whatnot, but also exposing events that the clients subscribe to. When one client requests a change to the database, it does so through this service or object, which then fires your Changed event so the other clients get notified. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome -- modified at 11:06 Friday 6th January, 2006

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups