Subject | Incremental search |
---|---|
Author | Gabriel Juncu |
Post date | 2001-03-14T07:09:15Z |
Hi list!
Is there a way (except modifying the IBO sources) of altering the
incremental search string of an TIB_Query just before the search begins? I
have a TIB_Grid connected to a TIB_Query and I want to search a Date field,
but if I supply only the DAY part of the date, I want to add some default
values for MONTH and YEAR before the inc. search begins. I noticed that
OnIncSearch event of the grid is called on every character I type (that's
ok) but NOT for the final ENTER, that actually starts the search. Is there a
way to achieve this?
Thanks,
Gabriel
Is there a way (except modifying the IBO sources) of altering the
incremental search string of an TIB_Query just before the search begins? I
have a TIB_Grid connected to a TIB_Query and I want to search a Date field,
but if I supply only the DAY part of the date, I want to add some default
values for MONTH and YEAR before the inc. search begins. I noticed that
OnIncSearch event of the grid is called on every character I type (that's
ok) but NOT for the final ENTER, that actually starts the search. Is there a
way to achieve this?
Thanks,
Gabriel