Callback or workaround for RRWRUN?
Callback or workaround for RRWRUN?
In several of our applications, written in Delphi, we permit the user to choose either the designer (password protected) or the runtime for executing our predefined reports as well as any user designed reports they may construct.____The issue (I beieve it has been discussed here before) is there is no way, when using the runtime application, to indicate to the user that the report is being built -- and to wait for it to complete.____Any suggestions? Is there a workaround?____We call reports with a control.txt file constructed just prior to calling the R&R app.__
=> Callback or workaround for RRWRUN?
I know that developers use a number of strategies to solve this problem. Hopefully someone will be willing to provide some programming suggestions to you.__One idea is to check the output status file which gets finally updated when a report completes.____Kathleen__R&R Support
-
- Posts: 5
- Joined: Tue Oct 10, 2017 12:44 pm
==> RE: Callback for RRWRUN?
Kathleen --____I keep checking this forum hoping that someone might enlighten me, but alas, NADA yet!____Can you provide (or point me to) some examples of using the status file, running RRWRUN, to tell when the report has finished and/or it^s progress?
-
- Posts: 18
- Joined: Tue Oct 10, 2017 12:44 pm
=> Callback or workaround for RRWRUN?
Hi:____Take a look at the Windows API CreateProcess()____You want to stop the new thread coming back to your Delphi App until the user closes the new process. In your case R&R Designer____Hope this helps____Regards____John Lewis