Subject Re: [IBO] Coexistence of TIB_Query and TIBOQuery?
Author Jason Wharton
That's as good as it gets for this one.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Thomas Steinmaurer" <thomas.steinmaurer@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, August 16, 2001 4:09 AM
Subject: [IBO] Coexistence of TIB_Query and TIBOQuery?


> Hi list,
>
> I've successfully migrated an IBX application to IBO (TIB_*). Due to the
> fact that I'm using an data export package which works with TDataset
> compatible components I'll have to use TIBOQuery. Now what is the best way
> to "move" the opened record set from IB_Query to IBOQuery? I've tried
> following and this works so far but probably there is a better solution
out
> there?!
>
> IBOQuery1.Close;
> IBOQuery1.AssignSQLWithSearch(IB_Query1);
> IBOQuery1.OrderingItems.Assign(IB_Query1.OrderingItems);
> IBOQuery1.OrderingLinks.Assign(IB_Query1.OrderingLinks);
> IBOQuery1.OrderingItemNo := IB_Query1.OrderingItemNo;
> IBOQuery1.Open;
>
> Regards
> Thomas