PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV (précédentes versions) → WD15 - problem in search (browse tables)
WD15 - problem in search (browse tables)
Débuté par shlomo p, 10 juin 2012 10:15 - Aucune réponse
Posté le 10 juin 2012 - 10:15
Hello, I work in WINDEV15 I built a window with a table that links to a file Above table 3 quick search fields.
The fields code:
Entry of __ search1:
/ / Initialize the search key
IF BrowseKey <> "MACLEUNIK" THEN
BrowseKey = "MACLEUNIK"
HReadFirst (FileName, BrowseKey)
TableDisplay ("Table", taCurrentFirst) / / Re-display the table
IF NOT TABLE .. Empty THEN RADFileToScreen () / / Display controls out of table END
IF NOT NoResetAcNum1__1 THEN AC_NUM1 = ""
DATE_CHECK = ""
TableSelectPlus ("TABLE", 1) IF NOT TABLE .. Empty THEN RADFileToScreen ()

Whenever Modified od __ search1
Multitask (-1); Multitask (-1)
HReadSeek (FileName, BrowseKey, Val (MySelf))
IF NOT FILTRETABLE_MAIN () THEN RETURN
TableDisplay ("Table", taCurrentFirst)
IF NOT TABLE .. Empty THEN RADFileToScreen ()
/ / Display controls out of table

The problem:
If you click too quickly digits "swallowed up" sometimes digits.
Eg
If I snap very quickly 92222
Sometimes I see the record of 922 and sometimes the of 9222
If I delete the last digit and knock again then I will see the entry 92222.
If advance more slowly knock (a matter of hundredths of a second - do not know exactly how many) will be no problem.
Please help.
Thank you.
Shlomo.