Subject Re: search thru ib_edit
Author Marco Menardi
--- In IBObjects@yahoogroups.com, "james_027" <james_027@y...> wrote:
>
> I want to perform search thru ib_edit? Is that possible? I have been
> working on it for the whole afternoon, but I came up nothing.
>
> What I did is I have a button that will put the dataset in search
> mode (ib_query.search;), then all the related ib_edit attach to the
> ib_query in search mode will change their color to cyan. then I try
> to make a search and after pressing enter nothing happen? Is their
> anything to be done?
>
> thanks
Maybe Enter is used in some search-specialized controls, or in other
situations that I don't remember exactly now.
All you have to do is a IB_Dtataset.First, by code of by the
IB_NavigationBar. Is like telling IBO: "well, now bring me the result,
starting from the fist one".
so:
- Put dataset in search state
- fill the fields you want
- issue a First to have result returned

Have also a look at the Tech Sheet "RAD with IBO", where there is a
short description on how perform exact / partial matches.

regards
Marco Menardi