PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → HreadSeek returning wrong result when comparing text with "\"
HreadSeek returning wrong result when comparing text with "\"
Iniciado por sadi, 03,mar. 2016 19:04 - 3 respuestas
Miembro registrado
3 mensajes
Publicado el 03,marzo 2016 - 19:04
Hello

I am trying to do a HReadSeek to check if a string value exists in a table.
The table contain a list of sizes and I need to search the nominal sizes, witch
HReadSeek(IS_product_size,size_alias,sProduct_size,hIdentical)

Even if I use hIdentical, it still returns true when comparing 1/2x1 to 12x1, or 1/6x10 to 16x10.
Why is it ignoring the backslash?

--
Giorgi
Windev enthusiast
Miembro registrado
3 mensajes
Publicado el 03,marzo 2016 - 19:09
GIORGI wrote:
Hello

I am trying to do a HReadSeek to check if a string value exists in a table.
The table contain a list of sizes and I need to search the nominal sizes, witch
HReadSeek(IS_product_size,size_alias,sProduct_size,hIdentical)

Even if I use hIdentical, it still returns true when comparing 1/2x1 to 12x1, or 1/6x10 to 16x10.
Why is it ignoring the backslash?

--
Giorgi
Windev enthusiast



Please ignore where i said backslash and the title where it says "\"
It is a normal slash: "/"

--
Giorgi
Windev enthusiast
Publicado el 04,marzo 2016 - 14:09
Hi Giorgi,

that's because in your analysis, in the description of the key, ignore
punctuation is checked.

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


On 3/3/2016 1:09 PM, GIORGI wrote:
GIORGI wrote:
Hello

I am trying to do a HReadSeek to check if a string value exists in a
table.
The table contain a list of sizes and I need to search the nominal
sizes, witch
HReadSeek(IS_product_size,size_alias,sProduct_size,hIdentical)

Even if I use hIdentical, it still returns true when comparing 1/2x1
to 12x1, or 1/6x10 to 16x10.
W
Miembro registrado
3 mensajes
Publicado el 04,marzo 2016 - 19:31
Perfect, Fabrice.

Thank you.

--
Giorgi
Windev enthusiast