Handle db events in external programming application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thiago777
    New Member
    • May 2007
    • 89

    Handle db events in external programming application

    Hello all,

    I am in need of detecting when an update/change occurred in the database, but checking it every second by selecting queries is not good as will take, of course, too much process time..

    Is there a way of creating a method as an event handler of an event happening inside the database??

    Whats the best solution for this? so I could update my VB screen for example only when changes occurr in the database..

    thanks in advance,
    Thiago.
  • Clanguage
    New Member
    • Jun 2007
    • 12

    #2
    Thiago,
    Do you have access to the database? If you do, just create an insert/update trigger.

    Comment

    • ilearneditonline
      Recognized Expert New Member
      • Jul 2007
      • 130

      #3
      Originally posted by Clanguage
      Thiago,
      Do you have access to the database? If you do, just create an insert/update trigger.
      I know how to write triggers, but how would you have it notify the VB application that there was a change?

      Comment

      Working...