Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to convert Character to String?
Message
From
12/09/2002 23:50:59
 
 
To
12/09/2002 23:43:04
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00700032
Message ID:
00700033
Views:
12
This message has been marked as the solution to the initial question of the thread.
>Hi All:
>
>I have a drop down combobox which is populated by a SELECT statement. This is a Numeric field in the original table. I also have a textbox that displays thechoice made from teh combobox.
>
>In the InterActiveChange Event of the Combobox, I have the following code:
>
>
mSelectedNumber = this.value
>
>However, what is now stored in mSelectedNumber appears to be a character string. How do I convert the contents of variable mSelectedNumber to Numeric type?
>
>Thanks in advance.
Check out VAL() function
>
mSelectedNumber = val(this.value)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform