Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I read a hex value from an ascii file
Message
From
23/11/1996 13:23:39
 
 
To
22/11/1996 20:05:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00013211
Message ID:
00013251
Views:
30
>>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

THANKS BUNCHES!!!

Maybe I can return the favor one day!

John Dennis
DAKOTA DATA TECHNOLOGIES
Previous
Reply
Map
View

Click here to load this message in the networking platform