Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Hi Stefan.
Many thanks for your help.
Here is what I get with dbfdump:

dbfdump --info 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
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

In reply to Re^6: Problem with DBI, DBD::XBase by hgtmp
in thread Problem with DBI, DBD::XBase by hgtmp

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • 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, 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, 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (6)
    As of 2018-06-23 07:35 GMT
    Find Nodes?
      Voting Booth?
      Should cpanminus be part of the standard Perl release?

      Results (125 votes). Check out past polls.