Subject | Time based refresh |
---|---|
Author | Jerry Sands |
Post date | 2012-04-28T17:14:24Z |
What is the best way to refresh a TIB_Query in a grid on a regular time
interval. Some of the columns output from the SQL are elapsed time
calculated and without a regular refresh the elapsed time calculation
becomes incorrect. The grid is set up so users can re-sort the rows and
also can be refreshed from a Firebird event alert. I currently am using a
TTimer to do the time based refresh but it appears it can get stepped on if
a re-sort is requested (clicking on the column titles) and causing errors.
The dataset is never over 200 rows and is generally under 100 rows.
Thanks
Jerry Sands
[Non-text portions of this message have been removed]
interval. Some of the columns output from the SQL are elapsed time
calculated and without a regular refresh the elapsed time calculation
becomes incorrect. The grid is set up so users can re-sort the rows and
also can be refreshed from a Firebird event alert. I currently am using a
TTimer to do the time based refresh but it appears it can get stepped on if
a re-sort is requested (clicking on the column titles) and causing errors.
The dataset is never over 200 rows and is generally under 100 rows.
Thanks
Jerry Sands
[Non-text portions of this message have been removed]