Convert DBF file to text file.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • abid

    Convert DBF file to text file.

    I need to convert DBF file to a pipe delmited text file. Can somebody
    guide me with a sample C program that does this kind of conversion.

    Thanks,
    Abhi.
  • Christopher Benson-Manica

    #2
    Re: Convert DBF file to text file.

    abid <abid7575@yahoo .com> spoke thus:
    [color=blue]
    > I need to convert DBF file to a pipe delmited text file. Can somebody
    > guide me with a sample C program that does this kind of conversion.[/color]

    (Unlikely here, but read on...)





    --
    Christopher Benson-Manica | I *should* know what I'm talking about - if I
    ataru(at)cybers pace.org | don't, I need to know. Flames welcome.

    Comment

    • CBFalconer

      #3
      Re: Convert DBF file to text file.

      abid wrote:[color=blue]
      >
      > I need to convert DBF file to a pipe delmited text file. Can somebody
      > guide me with a sample C program that does this kind of conversion.[/color]

      Define DBF. Define pipe. Define delmited. Or point to the
      places in the C standard that do so. Has it got something to do
      with deleting mites that crawl through a lead pipe?

      --
      Chuck F (cbfalconer@yah oo.com) (cbfalconer@wor ldnet.att.net)
      Available for consulting/temporary embedded and systems.
      <http://cbfalconer.home .att.net> USE worldnet address!


      Comment

      • Joe Wright

        #4
        Re: Convert DBF file to text file.

        abid wrote:[color=blue]
        >
        > I need to convert DBF file to a pipe delmited text file. Can somebody
        > guide me with a sample C program that does this kind of conversion.
        >[/color]
        As in Informix? Why do this in C? You can easily do it in FoxPro, dBASE,
        Clipper or whatever you used to make the .dbf files. If you don't have
        xBASE tools and you really have to read the .dbf blind and make a pipe
        delimited text file of it, you have a non trivial task at hand.

        Faced with this situation some time ago, I identified the files of
        interest to be .dbf, .txt, .sdf, .pip and wrote a suite of C programs to
        convert one to another: d2p, p2d, d2t, d2s, etc. If you have some
        commercial interest in these conversions I might be hired to do it for
        you. If you just want to pick my brain, ask specific questions.
        --
        Joe Wright http://www.jw-wright.com
        "Everything should be made as simple as possible, but not simpler."
        --- Albert Einstein ---

        Comment

        • Thomas Matthews

          #5
          Re: Convert DBF file to text file.

          abid wrote:
          [color=blue]
          > I need to convert DBF file to a pipe delmited text file. Can somebody
          > guide me with a sample C program that does this kind of conversion.
          >
          > Thanks,
          > Abhi.[/color]




          --
          Thomas Matthews

          C++ newsgroup welcome message:

          C++ Faq: http://www.parashift.com/c++-faq-lite
          C Faq: http://www.eskimo.com/~scs/c-faq/top.html
          alt.comp.lang.l earn.c-c++ faq:

          Other sites:
          http://www.josuttis.com -- C++ STL Library book

          Comment

          Working...