WhiteTown Software, the official website.
Site map Home News Download Order Contacts Service   RU

CDBF for Windows
CDBF for Windows (console)
CDBF for DOS
CDBF for Linux
CDBFlite
CDBFapi
DBF Script
CDBFinfo
CDBFShell
CDBFview

Online Database Converter
New!

Database Converters
DBF to CSV
DBF to MDB (Access)
DBF to XLS (Excel)
DBF to HTML
DBF to SQL
DBF to XML
DBF to PDB (Palm DataBase)
DBF to DBF
MDB (Access) to DBF
XLS (Excel) to DBF
CSV to DBF
PDB (Palm DataBase) to DBF
DBF Converters' Shell

CSV to DBF Converter

 
Video presentation New!

 

CSV to DBF Converter allows you to convert your csv (comma-separated value) files to dbf format.

Generally, you can use any delimiter, such as TAB, semicolon etc.
Besides, you can customize the output file, say select the output codepage etc. The program supports dBase III, dBase IV, FoxPro, VFP and dBase Level 7 formats.

Since many programs can save data in CSV format then this programs can help you transfer these data to dBase or Foxpro files.

The program supports command line interface. So, you can run it with necessary parameters in a batch mode from the command line or from Windows scheduler without human beings.
Besides, the Site license includes a DLL which you can use from your own application.

 

Downloads
ZIP File Description Version Size
csv2dbf.zip CSV to DBF Converter 1.17 1200Kb

Ordering
CSV to DBF Converter Price
Personal license
Allows you to use the program by one person only (at work or at home or both).
$29.95
Business license
Allows you to use the program by a small company on 2-10 computers.
$99
Site license
Allows you to use the program in business environment and besides it includes a DLL which you can use from your own application.
$199

ScreenShot

CSV to DBF Wizard

CSV to DBF. Command line description

Common parameters

/OVERWRITE=1Overwrite existing file.
/OVERWRITE=0Do not overwrite existing file. (Append to existing file).
/ASISCodepage as is.
/ANSIConvert to ANSI codepage.
/OEMConvert to OEM codepage.
/OPEN=1Open the output file after conversion.
/OPEN=0Do not open the output file after conversion.
/BATCHBatch mode. The program does not ask any questions (if possible).
/SILENTBatch mode. The program does not display any windows.
/WAITDo not close the program at the end. (Wait on the finish page).
/LOGCreate a log file in a common repository for application-specific data.
A typical path is C:\Documents and Settings\username\Application Data.
/STATUS
/STATUS=filename.ext
Create a text file with a current status (Conversion In Progress, Successful, Failed, Cancelled etc).
By default: %Program dir%\status.log
/FILTER=conditionIt allows you to convert records which satisfy the condition.

CSV specific parameters

Drive:\Path\FileName.csvSource CSV file
Drive:\Path\FileName.dbfTarget DBF file
Drive:\Path\Target DBF folder
/HEADER=1Include fields names.
/HEADER=0Do not include field names.
/FIELDS=?Delimiter between fields.
Example:
/FIELDS=;

Special values:
TAB means Tab (0x09) character.
NONE means absence of any delimiter.

/ALLCHAR=1Tells the program to always read "intermixed" data columns as text.
/ALLCHAR=0Tries to detect fields types.
/YYYYMMDD
/YYYY.MM.DD
/MM.DD.YYYY
Use this format for date fields.
/FP=?Separator in float fields.
Example:
/FP=,

By default .

/DD=?Separator in date fields.
Example:
/DD=/

By default -

/CHANGETYPE:FIELD=TYPE(LENGTH,WIDTH) Set field type in the output file
Example:
/CHANGETYPE:FIELDNAME1=N(10,2)
/CHANGETYPE:FIELDNAME2=C(128)
/CHANGETYPE:FIELDNAME3=D(8)

CSV to DBF Converter DLL

////////////////////// sample1.cpp ////////////////////////////
//parameters in the command line
//
//sample1.exe source.csv target.dbf ...
//

#include <windows.h>

int __declspec(dllexport)	__stdcall	CSVtoDBF_Converter(HWND hwnd, int argc, char *argv[]);


int
main(int argc, char *argv[])
{
	return CSVtoDBF_Converter(NULL, argc, argv);
}

//
////////////////////// sample1.cpp ////////////////////////////

 

////////////////////// sample2.cpp ////////////////////////////
//parameters in the source code
//
//sample2.exe
//

#include <windows.h>

int __declspec(dllexport)	__stdcall	CSVtoDBF_Converter(HWND hwnd, int argc, char *argv[]);

int
main()
{
	int     n=0;
	char    *params[10];

	params[n++]=strdup(__argv[0]);
	params[n++]=strdup("source.csv");
	params[n++]=strdup("target.dbf");
	params[n++]=strdup("/ansi");
	params[n++]=strdup("/overwrite=0");

	return CSVtoDBF_Converter(NULL, n, params);
}

//
////////////////////// sample2.cpp ////////////////////////////

0.000437021255493 | Privacy policy | Copyright © 1996-2010, WhiteTown Software