Subject | Proper usage of AssignSQLWithSearch |
---|---|
Author | Marcin Bury |
Post date | 2002-02-27T09:29:53Z |
Hi List
I have an IB_Query (vLista) linked to a Grid and Search panel where user
browse records and set search criteria.
Then I have IBOQuery (vL) for QuickReport to print the contents of the grid.
When user clicks print button I do:
vL.AssignSQLWithSearch(vLista)
vL.Open;
vLista goes into dssSearch mode and vL returns all records (like search
criteria are not set).
Any clues?
TIA
Marcin
I have an IB_Query (vLista) linked to a Grid and Search panel where user
browse records and set search criteria.
Then I have IBOQuery (vL) for QuickReport to print the contents of the grid.
When user clicks print button I do:
vL.AssignSQLWithSearch(vLista)
vL.Open;
vLista goes into dssSearch mode and vL returns all records (like search
criteria are not set).
Any clues?
TIA
Marcin