Subject RE: [IBO] Progress of database creation
Author Malcolm Smith

I've used this idea and my statement count (based on couting ^ is always one
more than the number of events generated. Would the first statement SET
TERM ^ not generate an event (hence the difference of 1) ?

Malcolm Smith
MJ Freelancing
Borland Technology Partner

Contributing Editor
C++Builder Developers Journal
FREE issue:

-----Original Message-----
From: Daniel Rail [mailto:daniel@...]
Sent: Thursday, 25 November 2004 22:35
Subject: Re: [IBO] Progress of database creation


> I'm trying to find a way of reporting the progress of the creation since
> 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
> 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 ?

If you are using TIB_Script to execute the script and that you know
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. (
ACCRA Med Software Inc. (

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.801 / Virus Database: 544 - Release Date: 24/11/2004