ibdac query ( http://www.devart.com/ibdac/components.html ) has a function executing where I can write something like:
while MyQuery.Executing do
begin
application.ProcessMessages;
Sleep(1);
end;
how do I implement the same code with a dbexpress query (there is no similar function)?
There is no similar functionality. But you can execute MyQuery in a background thread and main thread will wait when the background thread is finished. For example:
PS: Btw, i am using AnyDAC. It has build-in background execution.