Page 1 of 1

ChangeNotification

Posted: Tue 25 May 2010 07:55
by HRamin
Hi

How can i get which field is changed by ChangeNotification component???

Thanks

Posted: Tue 25 May 2010 12:18
by Dimon
TMSChangeNotification is notified about any changes made in the resultset, and it does not get information about changed field.

You can specify that TMSQuery should be automatically refreshed when the underlying data on the server is changed. For this set the MSQuery.ChangeNotification property and the MSQuery.Options.ReflectChangeNotify property to True. To refresh a dataset quickly your table should contain a timestamp field to use the RefreshQuick method instead of Refresh.