Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inkey() value for dash (-) ???
Message
From
09/01/2002 15:46:02
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
09/01/2002 15:39:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00602652
Message ID:
00602658
Views:
30
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform