Page 1 of 1

Refreshing TOraQuery

Posted: Mon 27 Dec 2004 13:27
by Wojtek
Hi,

I'm using TOraQuery as master for other data components (usually TOraTable). Every time I change the query, I use Execute() method to get data. It seems to work fine, data controls changes its content.

But is using Execute() the most effective way of refreshing data in this case?

Posted: Mon 27 Dec 2004 15:48
by Alex
If you change SQL statement, you must reopen DataSet by calling "Open" or
"Execute" method or setting "Active" property to True, the performance in
all cases are identical.