Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Codage, syntaxe et commandes
>I'm building an incremental search. One of the fields is an 18 character field that contains part numbers like 4505BCC5576-A11145. I can incrementally search until I hit the dash (-).
>
>Is there an inkey() value for the dash (-)?
>If not how can this be handled?
>
>I'm trapping the keys entered in the KeyPress event of this textbox and replacing the forms caption with the letters/numbers as they are entered, then using =seek to incrementally search.
>
>Many thanks,
>Greg
Greg,
By doing a ASC('-') it returned 45 as the ASCII code. Would that help?
Renoir
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement