Information générale
Catégorie:
Codage, syntaxe et commandes
>I have a client who wants a data file imported into dbf format. The majority of the file is readable, and has been successfully imported into a table. The file contains inventory balances, and those are written in a hexadecimal value in the same record. Is there a good way to read that value and convert it into numbers that VFP can understand?
>
>jd
If the ASCII file is in a standard format and you can import it directly, use a field of type float if the hex value is float (most probably) or a field of type integer if the hex value is integer.
If you can't import it directly in a database, read it as a char string and write an UDF to transform it.
Vlad
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement