Цитата(Sponger @ 17.5.2006, 13:12 ) | Объясните принцип действия ADOQuery.refresh. |
Call Refresh to ensure that an application has the latest data from a database. For example, when an application turns off filtering for a dataset, it should immediately call Refresh to display all records in the dataset, not just those that used to meet the filter condition.
Note: The Refresh method does not work for all TDataSet descendants. In particular, TQuery components do not support the Refresh method if the query is not “live”. To refresh a static TQuery, close and reopen the dataset.
Цитата(Sponger @ 17.5.2006, 13:12 ) | это аналогично ADOQuery.requery? |
ну вроде принципе да, только без дополнительных опций...
Цитата(Sponger @ 17.5.2006, 13:12 ) | Если нет то по сетке сильно будет забивать трафик если его выполнять 1 раз в сек? |
а зачем??? все зависит от самих запросов... |