Subject | Re: [IBO] New feature ? |
---|---|
Author | Jason Wharton |
Post date | 2002-11-27T21:28:03Z |
You could do this by implementing a two pass and on the first ignore sending
the statement to the server. Then, in the OnStatement event simply count
them and tell it to Ignore all of them. Then, with the count you can execute
it again.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
the statement to the server. Then, in the OnStatement event simply count
them and tell it to Ignore all of them. Then, with the count you can execute
it again.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
----- Original Message -----
From: "Daniel Rail" <daniel@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, November 27, 2002 9:35 AM
Subject: Re: [IBO] New feature ?
> SB> hello all,
>
> SB> I think that when executing a script with the IB Objects component,
> SB> there is no way to have a callback to show - for example - the
> SB> progress of the operation by modifying the Position property of a
> SB> ProgressBar.
>
> SB> It would be great to implement such functionality. Suppose that I have
> SB> a script with say 10,000 INSERTS (or more :-). It would be more
> SB> significant for the end user to update a progress bar on every insert
> SB> executed instead of showing an hour glass for a long amount of time.
>
> You can use the TIB_Script.OnStatement event to update a progress bar.
> It would be nice to have a method that would return the number of
> statements found in the script, so it would be easier to get a count
> of how many statements are in the script.
>
> Daniel Rail
> Senior System Engineer
> ACCRA Group Inc. (www.accra.ca)
> ACCRA Med Software Inc. (www.accramed.ca)