Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String Conversion
Message
From
17/06/1999 11:08:54
 
 
To
17/06/1999 10:47:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00230888
Message ID:
00230925
Views:
25
If you are writting a generic routine or something, and not sure if you are character or numeric, then you could do something like this:

lcSearch_value = alltrim(padr(txtbox.value, 99))

padr will make most data types char

>The content of the control is already in character format, unless it's bound to a different type control source or have a different type assigned in the Value property. Just use TxtBox.Value to do your search.
>
>>When the user enters an alphanumeric string into the txtbox I want to be able to
>>take this value and convert it to a character string for searching
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform