Dec 102017
C source code that allows you to access DBASE dbf files. Very nice functions, but will not handle indexs. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
BROWSE.C | 4655 | 1228 | deflated |
BROWSE.EXE | 12288 | 6989 | deflated |
DBASE.DOC | 1897 | 866 | deflated |
DBASE.H | 1990 | 661 | deflated |
DBTOC.C | 24287 | 4627 | deflated |
FILEIO.ASM | 11355 | 2119 | deflated |
PRINTSTR.ASM | 2104 | 732 | deflated |
SCROLLUP.C | 1047 | 434 | deflated |
SYSDATE.ASM | 995 | 382 | deflated |
TEST.DBF | 11644 | 184 | deflated |
Download File DBTOC.ZIP Here
Contents of the DBASE.DOC file
-----------------------------------------------------------------------
To Whom It May Concern:
These functions will allow you to access DBIII+ data files from
C programs. This source was compiled the the Lattice compiler version
3.11 In the SMALL memory model. The file I/O functions used were low
level assembler routines which are included. These routines merely
duplicate the library functions already found in the standard C library,
I did it just for fun ! I'm sure you could convert this source to
any other C compiler with little or no trouble, good luck !
This source code is released into the public domain for personal use only,
if you would like to use it for commercial purposes send $15.00 to
Paul McDonald
2200 Columbia Pike
Apt. 917
Arlington, Va 22204
The money will be used to upkeep my BBS (LOGITEK 703-920-7028), any other
donations will also be greatly appreciated.
Paul McDonald
--------------------------------------------------------------------------
The following is a quick reference to the functions contained
within:
OPENDBF() - opens a dbf file for read/write access
CLOSEDBF() - closes a dbf file, updates the header, and
releases all associated buffers.
READREC() - reads the specified record from the file into
the field structure buffers.
WRITEREC() - writes the specified record to the dbf file.
APPEND() - appends a record to the file, fills all fields with
blanks.
DELETE() - logically deletes a record.
UNDELETE() - logically undeletes a record.
MAKHEAD() - creates the header for a new DBF file. ( NOT TESTED )
ADDFIELD() - adds a field to the field structure of a new
file. (NOT TESTED)
ZAP() - Deletes and packs all records in a file.
To Whom It May Concern:
These functions will allow you to access DBIII+ data files from
C programs. This source was compiled the the Lattice compiler version
3.11 In the SMALL memory model. The file I/O functions used were low
level assembler routines which are included. These routines merely
duplicate the library functions already found in the standard C library,
I did it just for fun ! I'm sure you could convert this source to
any other C compiler with little or no trouble, good luck !
This source code is released into the public domain for personal use only,
if you would like to use it for commercial purposes send $15.00 to
Paul McDonald
2200 Columbia Pike
Apt. 917
Arlington, Va 22204
The money will be used to upkeep my BBS (LOGITEK 703-920-7028), any other
donations will also be greatly appreciated.
Paul McDonald
--------------------------------------------------------------------------
The following is a quick reference to the functions contained
within:
OPENDBF() - opens a dbf file for read/write access
CLOSEDBF() - closes a dbf file, updates the header, and
releases all associated buffers.
READREC() - reads the specified record from the file into
the field structure buffers.
WRITEREC() - writes the specified record to the dbf file.
APPEND() - appends a record to the file, fills all fields with
blanks.
DELETE() - logically deletes a record.
UNDELETE() - logically undeletes a record.
MAKHEAD() - creates the header for a new DBF file. ( NOT TESTED )
ADDFIELD() - adds a field to the field structure of a new
file. (NOT TESTED)
ZAP() - Deletes and packs all records in a file.
December 10, 2017
Add comments