🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #1453

Re: Urgent!!! DBase III in C++ !!! HELP

#1453
From: jahan
Date: Tue, 31 Dec 1996 00:00
56 lines
2747 bytes
The Reincarnator wrote:
> 
> *PLEASE* please help me!
> 
> I got to write a program for a .DBF (DBase 3) file in Borland C.
> My problem is, that I do not know how .DBF files are structured.
> 
> If you have a *structure sheet* for a DBase file or even better,
> know how to get a *DBase III routine for C*, please let me know!
> 
> THIS WOULD BE A VERY VERY GREAT HELP.
> 
> I'd also like to exchange programming experiences with other programmers.
> 
> (And please write an EMail, not a public one. Thanks!)
> 
>  /_ / / / / /_) /_) /_  /
> /| /|/ /_/ /_) /_) /_  /__  @ pOET.sH(IT)NET.oRG
>      (there again ?)
> 
> Zwei rote und drei beliebige Mana: Die *ERDSPALTE* !!!

Here is the format:-

1. Header of a dbf file.

typedef struct
{
      char dbf_id;
      char last_update[3];
      long last_rec;
      unsigned data_offset;
      unsigned rec_size;
      char filler[20];
} 

2. Followed by field information.
    typedef struct
    { 
         char field_name[11];
         char field_type;
         union
         { 
            unsigned char_len;
            struct
            {
               char len;
               char dec;
             }num_size;
          }len_info;
          char filter_[14];
        } field_rec;

Visual c++
http://www.geocities.com/SiliconValley/park/5931
Technical Details
Message-ID: <32C8E490.6A7E@pc.jaring.my>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6Nh1uXuWeAB@point80.poet.shnet.org>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 101b06,f5080e7fd41e9b01
X-Google-Attributes: gid101b06,public
X-Google-Thread: 109fba,f5080e7fd41e9b01
X-Google-Attributes: gid109fba,public
X-Google-Thread: 144b12,f5080e7fd41e9b01
X-Google-Attributes: gid144b12,public
X-Google-Thread: 1123d7,f5080e7fd41e9b01
X-Google-Attributes: gid1123d7,public
X-Google-Thread: 10c73c,f5080e7fd41e9b01
X-Google-Attributes: gid10c73c,public
X-Google-Thread: 10693a,f5080e7fd41e9b01
X-Google-Attributes: gid10693a,public
X-Google-Thread: 100a0f,f5080e7fd41e9b01
X-Google-Attributes: gid100a0f,public
X-Google-Thread: 102bfa,f5080e7fd41e9b01
X-Google-Attributes: gid102bfa,public
From: jahan@pc.jaring.my
Subject: Re: Urgent!!! DBase III in C++ !!! HELP
Date: 1996/12/31
Message-ID: <32C8E490.6A7E@pc.jaring.my>
X-Deja-AN: 206910089
references: <6Nh1uXuWeAB@point80.poet.shnet.org>
to: The Reincarnator <knubbel@poet.shnet.org>
content-type: text/plain; charset=us-ascii
organization: Unconfigured
mime-version: 1.0
reply-to: jahan@pc.jaring.my
newsgroups: alt.msdos.programmer,comp.lang.c++,de.comp.lang.c,de.comp.lang.c++,maus.lang.c,z-netz.rechner.ibm.programmieren,fido.ger.c_echo,fido.ger.c_plusplus,fido.ger.pgmrs,comp.msdos.programmer,comp.lang.c,comp.os.msdos.programmer,comp.os.msdos.programmer.turbovision,comp.programming
x-mailer: Mozilla 3.01 (Win95; I)