PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD19] - Searching text field
[WD19] - Searching text field
Iniciado por guest, 27,nov. 2014 13:37 - 2 respuestas
Publicado el 27,noviembre 2014 - 13:37
Hi All,

I have a small problem. I have a file with some fields including a 20 length text field which is also an index field. I have some records in the file. One record has value "I-VT" and another has value "IVT" without the dash. When I search fo "I-VT" WinDev finds the "IVT" record even though I am using HReadSeekFirst() with exact match search. Is this because I must switch ON the "Space, punctuation and special char. sensitive" checkbox for this index?

Thanks
Publicado el 29,noviembre 2014 - 09:36
Yes JP
Space, punctuation and special chars sensitive , must be ON
If it is OFF then
1. " JP" = "JP" = True
2. "JP_" =" JP" = True
and so on.
When ON then 1 & 2 are False and only "JP"="JP" = True
Publicado el 29,noviembre 2014 - 09:48
Thanks ICI. I did indeed switch it on and got the results I wanted. Thanks.