Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to convert Character to String?
Message
De
12/09/2002 23:50:59
 
 
À
12/09/2002 23:43:04
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00700032
Message ID:
00700033
Vues:
13
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform