Used to specify a SQL statement that will be used to refresh current record by calling the RefreshRecord procedure.
property SQLRefresh: TStrings;
Use the SQLRefresh property to specify a SQL statement that will be used to refresh current record by calling the RefreshRecord procedure.
Different behavior is observed when the SQLRefresh property is assigned with a single WHERE clause that holds frequently altered search condition. In this case the WHERE clause from SQLRefresh is combined with the same clause of the SELECT statement in a SQL property and this final query is then sent to the database server.
To create a SQLRefresh statement at design-time, use the query statements editor.
SELECT Shipname FROM Orders WHERE OrderID = :OrderID