
I use a CRDBGRID, but cannot refresh programmatically. Using DBNAVIGATOR, it works fine.
Does anyone know how to refresh programmatically? CRDBGRID.refresh does not work.
with kind regards,
Ruud
Code: Select all
CRDBGrid1.DataSource.DataSet.Refresh;
Thanks, Anateus! It works!Antaeus wrote:The TCRDBGrid has no mechanism to refresh data. You should call the Refresh method of the underlying DataSet. It may look like this:Code: Select all
CRDBGrid1.DataSource.DataSet.Refresh;