Board index » delphi » Responding to changes in underlying database with a TTable/TQuery
Andrew Coulton
![]() Delphi Developer |
Mon, 27 Oct 2003 19:59:51 GMT
Responding to changes in underlying database with a TTable/TQuery
I have a project where users create/edit records on non-modal forms (like
MDI but with the windows appearing on the taskbar a la MS outlook). I also have a main form which displays summary data. Forms are created dynamically and I've set up a set of routines providing a message dispatching system to the whole software : when a form posts data it calls a routine DoDatabaseChange and passes an Id number for the table and the value of the table's key field for the record that has changed. DoDatabaseChange then dispatches that to all the windows that have registered to receive updates for the relevant table. That all works OK but my problem is in handling the database changed As far as I can see, the only way to reload the data is an Any opinions welcome Andrew |