I am struggling with getting a dbgrid to update at runtime.
I have a TDBGrid connected to a IBConnection (Firebird) and am using aTDataSource, TSQLTransaction and TSQLQuery.
I have made a simple app - the above with a TTimer. When the app starts it displays the records correctly. When the OnTimer event is called I have the following code which is described in several searches I have made as all that is necessary to get the grid to update.
DBGrid1.DataSource.DataSet.Refresh;
I use Robin to manually change a field in the table being displayed but when the next OnTimer event happens the data shown in the grid has not changed.
Any help please?