Subject Re: [IBO] IBO and QuickReport
Author Helen Borrie
At 09:51 AM 22-08-01 +0000, you wrote:
>--- In IBObjects@y..., "Riho-Rene Ellermaa" <r.ellermaa@h...> wrote:
> > I'm using also QReport and it works like this:
> >
> > IBOPrint->AssignSQLWithSearch(DModul->QMK);
> >
> > DModul->QMK is TIB_Query
> > IBOPrint is TIBOQuery
>
>I use in this case:
> IBOQuery.SQL.Add(IB_Query.ServerSQL);
>Does this statement work the same way as that above?
>Should I better use AssignSQLWithSearch?

Yes, because AssignSQLWithSearch will produce the dataset that exactly duplicates what is currently in your IB_Query, including refinements, which ServerSQL cannot duplicate.

Helen

All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________