Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread OnGetParams
Fri, Apr 21 2006 2:56 AMPermanent Link

"Clive"
In OnGetParams is it possible to find out which SQL statement you are on ?..

ie if I have 4 different SQL Statements in the same query and all require
different parameters, how do I know what statement the query is requesting
params for ?

Thanks
Clive.

Fri, Apr 21 2006 6:33 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Clive,

<< In OnGetParams is it possible to find out which SQL statement you are on
?.. >>

Yep, check out these parameters:

http://www.elevatesoft.com/dbisam4d5_tdbisamquery_sqlstatementtype.htm
http://www.elevatesoft.com/dbisam4d5_tdbisamquery_text.htm

Or did you mean the position of the statement in the script (numeric) ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, Apr 21 2006 4:00 PMPermanent Link

"Clive"
More the Numeric, ie Statement number 2 of 4 is being executed?.

"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message
news:E8F0BC77-5D9E-4874-9BB5-74F5CE70B759@news.elevatesoft.com...
> Clive,
>
> << In OnGetParams is it possible to find out which SQL statement you are
> on ?.. >>
>
> Yep, check out these parameters:
>
> http://www.elevatesoft.com/dbisam4d5_tdbisamquery_sqlstatementtype.htm
> http://www.elevatesoft.com/dbisam4d5_tdbisamquery_text.htm
>
> Or did you mean the position of the statement in the script (numeric) ?
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
>

Mon, Apr 24 2006 9:23 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Clive,

<< More the Numeric, ie Statement number 2 of 4 is being executed?. >>

In that case, you'll have to increment a variable on your own every time the
OnGetParams event handler is called.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image