Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid Function, Count
Message
De
16/12/2019 05:43:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01672257
Message ID:
01672264
Vues:
41
That was my "ah-ha" moment. After i started running my process...i thought about that point. After it finished, looked at it and it's NUMERIC...yeaph, i started baning my head on my desk at that point and decided to call it a night, LOL

Thanks....


>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.

Are you sure they are Chars?
What is the result of this:
? VARTYPE(stock_high) 
Thanks in Advance.

J. Turner
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform