Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid Function, Count
Message
De
16/12/2019 02:42:06
 
 
À
15/12/2019 22:14:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01672257
Message ID:
01672260
Vues:
63
>Howdy all,
>
>Trying to take a character field and convert and then calculate against it. It's initially imported as a text delimited field:
>
>the data looks like: 23.34 or 35.87 etc...
>The data field is a character field.
>
>But when I attempt to perform a calculation, via val(stock_high) - val(stock-low), i receive the function argument invalid count (etc) error.

Alltrim() the entries before converting to numeric.

? vartype(" 23.42" && C

Hank
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform