>I am looking for a command that would tell me if a variable created with STORE is numeric or character. Does it exists?
>
You canuse the TYPE() (or VARTYPE() in VFP6) function to check the type of a variable - numerics will return 'N', character variables 'C'.
To check if a string is a valid numeric, ALLTRIM() the variable and then test each remaining character to see if it's in the valid character set ('0123456789.' for a decimal number). If a 0 value is not legal in the field, you can always test the result of VAL(
character expression)
>Thanks
>Eric