Hello Devart !!
I've derived from TIBCQuery a new class that i named TpsClientQuery
so all works well but !!! when i add a new Lookup field it gives me a message: that the lookup information about lookup is not complete...
I will send you the source code
ps : when I try with a simple TIBCQuery IT WORKS