home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Servis
/
FFE
/
DATABASE.SWG
/
0001_DB2.pas
next >
Wrap
Pascal/Delphi Source File
|
1996-09-03
|
1KB
|
33 lines
--------X-DBase II-O------------------------
The DBase II file format. The dBASE II file header has a fixed size of
521 bytes.
OFFSET Count TYPE Description
0000h 1 byte dBASE version, 02h = dBASE II
0001h 1 word Number of data records in file
="NDR"
0003h 1 byte Month of last update
0004h 1 byte Day of last update
0005h 1 byte Year of last update
0006h 1 word Size of each data record
="DRS"
0008h 64 rec Field descriptors
11 char ASCIIZ field name, 0Dh as first
char indicates end of list.
1 char Data type
'C' - Char
'N' - Numerical
'L' - Logical
1 byte Field length
1 word Field data address ( set in RAM )
1 byte Number of decimal places
0208h 1 byte If 0Dh, then all 32 field descriptors were used;
otherwise 00h
EXTENSION:DBF
OCCURENCES:PC
PROGRAMS:DBase
SEE ALSO:DBASE III,XBase
VALIDATION:FileSize="NDR"*"DRS"+0208h