There is a way for one TIBQuery to receive the other TIBQuery. For example:
Query1.Close;
Query1.Open;
Query2 := Query1;
if Query2Valor1.... // segue a lógica
There is a way for one TIBQuery to receive the other TIBQuery. For example:
Query1.Close;
Query1.Open;
Query2 := Query1;
if Query2Valor1.... // segue a lógica
With IB
I think it's not possible.
With FireDAC it is possible by means of TFDDataSetReference
, in which you can pass the data
property of one dataset to another as follows: FDQuery2.Data := FDQuery1.Data;
But returning to your reality, you could still pass the TIBQuery content to a ClientDataSet via DataSetProvider . I do not know if it is acceptable for your need, but I rather use this feature mentioned above.