lacak eb4bc9d153 fcl-db: dbase: add new field types (ftLongWord, ftShortint, ftByte) to fix export test errors 4 years ago
..
Makefile ca40956a3a Regenerated all Makefile's 5 years ago
Makefile.fpc 0ca44b1a7e * Added dependencies for sub-packages, bug #16555 15 years ago
dbf.pas f55ab74e6a fcl-db: dbase: call inherited InternalPost to check required fields. Revealed by test TestRequired 9 years ago
dbf_avl.pas 89c07a2aef * update tdbf to 6.9.2 18 years ago
dbf_collate.pas 89c07a2aef * update tdbf to 6.9.2 18 years ago
dbf_common.inc eb4bc9d153 fcl-db: dbase: add new field types (ftLongWord, ftShortint, ftByte) to fix export test errors 4 years ago
dbf_common.pas 1bc72d437c * assumption that everything non-Windows uses Unix paths is obviously wrong; fixed 10 years ago
dbf_cursor.pas 89c07a2aef * update tdbf to 6.9.2 18 years ago
dbf_dbffile.pas 585bedf2e8 * unit dbf_dbffile now compilable under OS/2 11 years ago
dbf_fields.pas eb4bc9d153 fcl-db: dbase: add new field types (ftLongWord, ftShortint, ftByte) to fix export test errors 4 years ago
dbf_idxcur.pas e328c7c1cb * Rest of fcl-db adapted to use TRecordBuffer. 13 years ago
dbf_idxfile.pas 414e9555b6 TDBF: fixed some unaligned memory accesses causing SIGBUS on ARM 12 years ago
dbf_lang.pas 2240c24252 fcl-db: dbase: Remove erroneous language ID $20 Czech as it does not appear in references. Fixes issue #0024730: Incorrect dbf Language ID to Locale convert table for Czech locale Windows 12 years ago
dbf_memo.pas 3486661512 * fcl-db/dbase: fix Dbase3,4,7 zero content memo fields 12 years ago
dbf_parser.pas e328c7c1cb * Rest of fcl-db adapted to use TRecordBuffer. 13 years ago
dbf_pgcfile.pas 5b8dd4c004 * move fcl sources to separate packages 18 years ago
dbf_pgfile.pas 2f8bcc14a9 fcl-db/dbase 12 years ago
dbf_prscore.pas 4cd5a72d13 * Fix Bug ID #35759 6 years ago
dbf_prsdef.pas 48e4fc4bb2 * fcl-db: dbf,bufdataset (and descendents): allow filter using double delimiters inside string. Fixes issue #25432 11 years ago
dbf_prssupp.pas 5b8dd4c004 * move fcl sources to separate packages 18 years ago
dbf_reg.pas 5b8dd4c004 * move fcl sources to separate packages 18 years ago
dbf_str.inc 115a64d62c * fcl-db: dbase: backlinks: 11 years ago
dbf_str.pas 36a8a903f1 fcl-db: dbase: fix probably copy-paste error in translation units 10 years ago
dbf_str_es.pas 36a8a903f1 fcl-db: dbase: fix probably copy-paste error in translation units 10 years ago
dbf_str_fr.pas 36a8a903f1 fcl-db: dbase: fix probably copy-paste error in translation units 10 years ago
dbf_str_ita.pas 36a8a903f1 fcl-db: dbase: fix probably copy-paste error in translation units 10 years ago
dbf_str_nl.pas 36a8a903f1 fcl-db: dbase: fix probably copy-paste error in translation units 10 years ago
dbf_str_pl.pas a756cb3d44 fcl-db: dbase: update Polish translation. Bug #26375 10 years ago
dbf_str_pt.pas 36a8a903f1 fcl-db: dbase: fix probably copy-paste error in translation units 10 years ago
dbf_str_ru.pas 36a8a903f1 fcl-db: dbase: fix probably copy-paste error in translation units 10 years ago
dbf_struct.inc 115a64d62c * fcl-db: dbase: backlinks: 11 years ago
dbf_wnix.inc ebccde996e + implementation of unit dbf_wtil now split into target dependant include files, added implementation for OS/2 11 years ago
dbf_wos2.inc a608070e8d * file unlocking fixed as well now :/ 10 years ago
dbf_wtil.pas 0c063005dd * compilation fix for MS Windows targets 11 years ago
fpmake.inc 0b71f6286c * dbase support now enabled for OS/2 11 years ago
fpmake.pp 5b8dd4c004 * move fcl sources to separate packages 18 years ago
getstrfromint.inc 5b8dd4c004 * move fcl sources to separate packages 18 years ago
history.txt e4fa4a72d2 * fcl-db: cosmetic 11 years ago
package.txt 5b8dd4c004 * move fcl sources to separate packages 18 years ago
readme.txt 29795e1b30 fcl-db: cosmetic: dbase: add reference to language IDs/codepages for DBaseIV 12 years ago
tdbf_l.pas 5b8dd4c004 * move fcl sources to separate packages 18 years ago
testdbf.pp b30a3e499c * add missing initialization of the record count 10 years ago

readme.txt

This package provides support for DBase files.
It is derived from the upstream package at
http://sourceforge.net/projects/tdbf/
It is supported by FPC developers and the upstream maintainers.

Support from other tdbf users may be available on the tdbf forum on
SourceForge: http://sourceforge.net/projects/tdbf/forums/forum/107245


TDbf readme:

See history.txt for changelog, and version number.
See INSTALL for installation procedure.
License is LGPL (Library General Public License); see COPYING.LIB for details.

Development notes
=================
(Includes possible additions to end user documentation)

property RecNo: approximate record number. Does not take deleted records into account. Used mainly in grids.

File format references:
Flagship/FoxPro/Clipper/DBase III..V .dbf file format description
ftp://fship.com/pub/multisoft/flagship/docu/dbfspecs.txt

DBase IV language drivers
- Russian list: ...
http://www.autopark.ru/ASBProgrammerGuide/DBFSTRUC.HTM
... English extract:
- http://shapelib.maptools.org/codepage.html

- as supported by ArcPad .shp files (basically DBase IV) (page 128):
http://downloads.esri.com/support/documentation/pad_/ArcPad_RefGuide_dec2007.pdf


FoxPro 2.x:
http://support.microsoft.com/kb/98743/en-us
Data type:
P Picture (foxpro/vfoxpro specific)

Visual FoxPro:
http://msdn.microsoft.com/en-us/library/d863bcf2%28v=vs.80%29.aspx

especially this for table structure:
http://msdn.microsoft.com/en-US/library/st4a0s68%28v=vs.80%29.aspx
note however that the file type/magic number at offset 0 is incorrect.
A community member amended these with correct numbers. See bottom of page

Visual FoxPro 6 internal structures, _NULLFIELDS etc:
http://www.dfpug.de/buecher/fundamentals/Hack6/S1C2.HTM

Visual Foxpro 8 info about autoincrement:
http://msdn.microsoft.com/en-us/library/aa976850%28v=VS.71%29.aspx

Visual FoxPro 9 data types
http://msdn.microsoft.com/en-US/library/ww305zh2%28v=vs.80%29.aspx

Visual FoxPro 9 specific changes:
http://foxcentral.net/microsoft/WhatsNewInVFP9_Chapter09.htm
New data types:
V Varchar/varchar binary (in Visual FoxPro 9) 1 byte up to 254 bytes.
Same storage as char (padded spaces) but padding is removed on display
W Blob (Visual FoxPro 9), 4 bytes in a table; stored in .fpt
Q Varchar (binary) (in Visual Foxpro 9):
accepts null, up to 254 characters (stored as padded with spaces), no code page translations
note varchar (binary)<>varbinary