Subject Coexistence of TIB_Query and TIBOQuery?
Author Thomas Steinmaurer
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