Subject | Incremental searching |
---|---|
Author | Robert martin |
Post date | 2005-08-01T01:46:16Z |
Hi
We have a number of screen where users enter text and a partial key
Locate is performed to simulate incremental searching. (Old DBase
system) we have converted to IBO (using TIBO_ components) and this no
longer works when autofetchAll is false. It seems that records outside
of the buffer will not be located.
I have discovered that replacing the locate with
IncSearchString(ClientEdit.Text, 0, True) works well. I assume this is
simulating the TIB_IncSearch component functionality. My first question
is, Is this a safe / correct thing to be doing?
We have noticed a similar problem with DBlookupCombo boxes, Should we
change the code in these to also use the InSearchString as well or is
there a better solution for this?
TIA Rob
--
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
We have a number of screen where users enter text and a partial key
Locate is performed to simulate incremental searching. (Old DBase
system) we have converted to IBO (using TIBO_ components) and this no
longer works when autofetchAll is false. It seems that records outside
of the buffer will not be located.
I have discovered that replacing the locate with
IncSearchString(ClientEdit.Text, 0, True) works well. I assume this is
simulating the TIB_IncSearch component functionality. My first question
is, Is this a safe / correct thing to be doing?
We have noticed a similar problem with DBlookupCombo boxes, Should we
change the code in these to also use the InSearchString as well or is
there a better solution for this?
TIA Rob
--
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd