home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Servis
/
FFE
/
DATABASE.SWG
/
0002_DB3.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-09-03
|
2KB
|
40 lines
--------X-DBase III-------------------------
DBASE - File header structure (DBASE III)
OFFSET Count TYPE Description
0000h 1 byte dBASE version,
03h = dBASE III w/o *.DBT
83h = dBASE III w *.DBT
0001h 1 byte Month of last update
0002h 1 byte Day of last update
0003h 1 byte Year of last update
0004h 1 dword Number of data records in file
="NDR"
0008h 1 word Header size
="HSZ"
000Ah 1 word Data record size
="DRS"
000Ch 12 byte reserved
0020h ? rec Field descriptors
The list of field descriptors is
terminated with a terminator
byte 0Dh.
11 char ASCIIZ field name
1 char Data type
'C' - Char
'D' - Date
'L' - Logical
'M' - Memo
'N' - Numerical
1 dword Field data address ( set in RAM )
1 byte Field length
1 byte Number of decimal places
14 byte reserved
EXTENSION:DBF
SEE ALSO:DBASE II,XBase
OCCURENCES:PC
PROGRAMS:DBase
VALIDATION:FileSize="NDR"*"DRS"+"HSZ"