| Author |
Dialog updates database - how to update other screens' combos/lists/tables?
|
Peter Dennis
Greenhorn
Joined: Nov 30, 2008
Posts: 12
|
|
Hi All,
I have a dialog that modifies records within my database. But when I go to a different screen where the combo box has data from that table displayed it isn't updated with the new record that has been added.
If I close my program and restart it then the combo box appears updated but I can't imagine many users wanting to do this on a regular basis.
Is someone able to tell me how I can update the combo boxes/lists/tables on other screens that use this data?
Many thanks,
Peter.
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8435
|
|
Cant say much with the existing details.
One way of doing it is to obtain a reference to the appropriate combo/list/table model and locally modify it if the DB call is successful.
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
 |
|
|
subject: Dialog updates database - how to update other screens' combos/lists/tables?
|
|
|