How to Merge Two DBF Files into One

To merge DBF files, DBF Viewer 2000® appends records from one or more DBF files to the file you have open. You can merge two files from the interface or a whole folder of DBF files from the command line, and then remove duplicate records in one click.

How to Merge DBF Files in DBF Viewer 2000

Step 1. Open the destination DBF file

Open the file you want to add data to.

Step 2. Select File | Import / Append (Shift+A)

The file dialog opens.


select dbf file window

Step 3. Choose the file to merge and set options

Select the source file. In the Append dialog, preview its contents and set the options: «First row» - where the appended data start (zero means after the last record); «Remove all records» - clear the destination file before merging. The «Command line» button shows the command to repeat the same merge later.


append dialog

Step 4. Click OK

The two DBF files are merged.

Remove Duplicates After Merging

After merging, the resulting table may contain duplicate records. Select Tools | Delete Duplicates - DBF Viewer 2000 scans the table and deletes identical records in one pass.

Merge via Command Line

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" /APPEND:file.dbf,file | path [/LOG]

Merge two files

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" /APPEND:first.dbf,second.dbf

Merge multiple files

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" /APPEND:"d:\dst\merge.dbf","z:\mybase\*.dbf"

Using log file

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" /APPEND:"d:\dst\merge.dbf","z:\mybase\*.dbf" /LOG:"d:\dst\log.txt"

Frequently Asked Questions

Can I merge more than two DBF files at once?

Yes, but only from the command line, which appends an entire folder in one run; the interface merges one source file at a time.

Do the DBF files need the same structure to be merged?

Records are appended to the structure of the destination file; check that the fields you need exist in it before merging.

Does merging remove duplicates automatically?

No. Appending adds all source records as-is; run Tools | Delete Duplicates afterwards to clear identical rows.

Can I replace records instead of appending them?

Yes. In the Append dialog, turn on «Remove all records»: the destination file is emptied first, so the source data takes its place instead of being added to the existing records.


DOWNLOAD NOW

Updated Tue, 10 Nov 2026

See also: DBF File format, DBF File Optimization, DBF to XLS (Excel), DBF to SQL, DBF to CSV, DBF Repair Tool, Filtering records,  Sorting records in dbf file, Command line options

Back to DBF Viewer 2000 Home