Subject | Searching with ib_searchpanel |
---|---|
Author | stanw1950 |
Post date | 2002-02-25T21:48:22Z |
I'm using an ib_searchpanel and an ib_searchbar, along with edit
components and a grid. They are linked to an ib_query. When the user
enters the screen from another screen, I want the current record that
they just came from (for example a part number) to be the current
record. Thus the screen would just show the data for the current part
number. I also need the user to be able to enter search criteria in
the ib_searchpanel to show more parts that, for example, start
with 'bac'. If I construct the query in the ib_query component to
have a parameter, that parameter always seems to be in control - I
can't get the ib_searchpanel's search criteria to work for parts not
meeting the parameter. The query (without the parameter) is 'select *
from parttable', but I want to restrict that, still allowing the
searching to override the restriction. How can I do it? Thanks in
advance. (Delphi 6, ibo 4.2.fr)
Stan Walker
components and a grid. They are linked to an ib_query. When the user
enters the screen from another screen, I want the current record that
they just came from (for example a part number) to be the current
record. Thus the screen would just show the data for the current part
number. I also need the user to be able to enter search criteria in
the ib_searchpanel to show more parts that, for example, start
with 'bac'. If I construct the query in the ib_query component to
have a parameter, that parameter always seems to be in control - I
can't get the ib_searchpanel's search criteria to work for parts not
meeting the parameter. The query (without the parameter) is 'select *
from parttable', but I want to restrict that, still allowing the
searching to override the restriction. How can I do it? Thanks in
advance. (Delphi 6, ibo 4.2.fr)
Stan Walker