Hi,
I use MyQuery (MyDac) to upload Files (4MB) in my database. This process need a moment. I don't want use MyQuery in a thread. I search a way to use application.ProcessMassages so that my application doesn't freeze. Is there a way?
On other components are events like "OnWork" or "OnProgress".
About help I would appreciate it. Thank you.
MyQuery OnProgress
-
AndreyZ
Re: MyQuery OnProgress
Hello,
For tasks that require a long time it is better to use threads. If you want to use the Application.ProcessMessages method, you can call it after calling the TMyQuery.Execute method.
Also, you can try using the TMyLoader component that serves for fast loading of data to the server. It has the OnProgress event.
For tasks that require a long time it is better to use threads. If you want to use the Application.ProcessMessages method, you can call it after calling the TMyQuery.Execute method.
Also, you can try using the TMyLoader component that serves for fast loading of data to the server. It has the OnProgress event.