Subject | Re: [IBO] Progress of database creation |
---|---|
Author | Daniel Rail |
Post date | 2004-11-25T11:34:47Z |
Hi,
At November 24, 2004, 23:32, Malcolm Smith wrote:
how many statements are in the script, then you can use the
TIB_Script.OnStatement event to increment the progress counter.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)
At November 24, 2004, 23:32, Malcolm Smith wrote:
> I'm creating a form to be displayed when our application is launched andIf you are using TIB_Script to execute the script and that you know
> cannot find the database. The application gives the user the option of
> having the database created (blank).
> I'm trying to find a way of reporting the progress of the creation since the
> process takes some time to complete. I have tried using TIB_Monitor to
> track the number of actions performed and tried relating this to the script.
> I have come close by counting the number of ^ in the script = 487 but only
> 485 events are raised. I realise if I scale this to 100% it will be close
> enough but am wondering if there is a more reliable method.
> Is there a better way ?
how many statements are in the script, then you can use the
TIB_Script.OnStatement event to increment the progress counter.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)