Hi Stefan.
Many thanks for your help.
Here is what I get with dbfdump:
dbfdump --info EEV_DET_BATCHRUN_1~MAIN.DBF
Filename: EEV_DET_BATCHRUN_1~MAIN.DBF
Version: 0x30 (ver. 5 (FoxPro))
Num of records: 67
Header length: 1000
Record length: 214
Last change: 2013/1/23
Num fields: 22
Field info:
Num Name Type Len Decima
1. PRODUCT C 8 0
2. PURPOSE C 8 0
3. GROUP C 50 0
4. DISC_RATE N 6 2
5. TIME C 10 0
6. PERIOD C 15 0
7. T_FROM N 5 0
8. T_TO N 5 0
9. CAL_MONTH B 8 6
10. CAL_YEAR B 8 6
11. CONTROL_CA B 8 6
12. FINALISE B 8 6
13. INITIALISE B 8 6
14. INIT_NB_MP B 8 6
15. PASS_DOWN_ B 8 6
16. PROJ_MONTH B 8 6
17. PROJ_YEAR B 8 6
18. STARTUP B 8 6
19. TCWP B 8 6
20. WRITE_CRED B 8 6
21. W_FORT_FLV B 8 6
22. _NULLFLAGS 0 2 0
Let me please recapitulate:
I have a problem with the field CAL_YEAR.
With Excel I get the years like 2012, 2013 etc.
but with DBD::XBase I get decimal numbers.
Regards, Holger
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.