Subject | Re: [IBO] how to delete all record in Tiboquery? |
---|---|
Author | Jason Wharton |
Post date | 2002-09-05T15:07:09Z |
Not sure, how about you send a sample application which demonstrates your
problem.
I must say, this is probably the most inefficient way to accomplish this.
You will for sure want to do it differently anyway but if there is a problem
with IBO I'd like to resolve it too.
Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
problem.
I must say, this is probably the most inefficient way to accomplish this.
You will for sure want to do it differently anyway but if there is a problem
with IBO I'd like to resolve it too.
Regards,
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: "bigred17201720" <kadee@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, September 05, 2002 1:37 AM
Subject: [IBO] how to delete all record in Tiboquery?
> Hi,
>
> I use ibodatabase+iboquery(catchupdate,requrestlive).
>
> when I want to delete all record in iboquery,
> my code like follow:
>
> while not iboquery.isempty do
> iboquery.delete;
> iboquery.applyupdate;
> iboquery.close;
> iboquery.open;
>
>
> after the iboquery open, some time I will
> find there is still 1 record in iboqery.
> so I change change the code as:
>
>
> while not iboquery.isempty do
> iboquery.delete;
> iboquery.applyupdate;
> iboquery.close;
> iboquery.open;
> while not iboquery.isempty do
> iboquery.delete;
> iboquery.applyupdate;
> iboquery.close;
> iboquery.open;
>
>
> after twice apply the delete action,
> the iboquery finally empty.
>
> but why I need twice delete action?
>
> Please Help.
>
> Kadee