Subject | IncSearch Problem |
---|---|
Author | kj01135 |
Post date | 2002-11-04T13:19:56Z |
I have problems with the IncSearch controls. The grid does not go
to the correct row if the data contains "-".
Example:
1) Create a table with a field called "NAME" and set it as Primary
Key.
2) Input some data for "NAME"
A-BC
A-BCD
A-BCDE
ABC
ABCDE
BBC
BDE
etc..
3) In a datamodule, create a IB_Query for this table and set the
ordering items properly. Then open the dataset in the datamodule and
try to search for ABCDE. It dose not go to the correct row!!!
4) input BDE in the IncSearch, it works. Add some records: B-CDE,
B-BDE, BCDE, BCDEF, then type BCDEF and it goes to the wrong row
again!!
I have tested it with ASCII and BIG5 character set and they are both
the same.
Could it be a bug?
regards,
Kenneth
to the correct row if the data contains "-".
Example:
1) Create a table with a field called "NAME" and set it as Primary
Key.
2) Input some data for "NAME"
A-BC
A-BCD
A-BCDE
ABC
ABCDE
BBC
BDE
etc..
3) In a datamodule, create a IB_Query for this table and set the
ordering items properly. Then open the dataset in the datamodule and
try to search for ABCDE. It dose not go to the correct row!!!
4) input BDE in the IncSearch, it works. Add some records: B-CDE,
B-BDE, BCDE, BCDEF, then type BCDEF and it goes to the wrong row
again!!
I have tested it with ASCII and BIG5 character set and they are both
the same.
Could it be a bug?
regards,
Kenneth