cancel long TQuery.last or TQuery.RecordCount operation

Some operations such as TQuery.last or TQuery.RecordCount can produce
very long delays if the table is very large.  I would like to give the
user the capability of canceling such operations.  Can anyone tell me
how I could accomplish this?

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.