Subject | Re: [IBO] Enhancement Request |
---|---|
Author | Andreas Pohl |
Post date | 2001-09-20T15:46:37Z |
#1: What about TIB_Query.CallbackCaption ?
#2: subclass TIB_Query and provide a function using a dsql call like:
query:=sender as TIB_Query;
with TIB_DSQL.Create(nil) do begin
ib_connection:=query.ib_connection;
ib_transaction:=query.ib_transaction;
sql.text:=format(' delete %s ' ,[query.sqlfrom.text]);
prepare;
execute;
query.ib_transaction.commitretaining;
end;
This is written right from my mind, please check syntax again :)
Mit freundlichem Gruss & Best Regards
Andreas Pohl
apohl@...
www.ibp-consult.com
#2: subclass TIB_Query and provide a function using a dsql call like:
query:=sender as TIB_Query;
with TIB_DSQL.Create(nil) do begin
ib_connection:=query.ib_connection;
ib_transaction:=query.ib_transaction;
sql.text:=format(' delete %s ' ,[query.sqlfrom.text]);
prepare;
execute;
query.ib_transaction.commitretaining;
end;
This is written right from my mind, please check syntax again :)
Mit freundlichem Gruss & Best Regards
Andreas Pohl
apohl@...
www.ibp-consult.com
----- Original Message -----
From: "Johan Kotze" <jkkotze@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, September 20, 2001 4:36 PM
Subject: [IBO] Enhancement Request
> Hi Jason
>
> There are 2 thing I would like to see in IBO.
>
> 1. On the messagebox that displays the "Fetching xxxx rows" message,
> could you include the component(IB_Query, etc) name or caption? It
> would help me determine where my code causes large amounts of data to
> be retrieved.
>
> 2. I would like a EmptyTable funtion and a EmptyTableSQL property
> added to IB_Query that will execute the SQL statement specified in
> EmptyTableSQL. It must also commit the changes and drop all local
> cached data from the query.
>
> If you have time ;-) and feel like it, it would be much appreciated.
>
> Regards
>
> Johan Kotze
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>