Data Transfer
SoftWright Home

Q:  Can I transfer data in my .XLS or .CSV files into the .DBF files used in several TAP databases?

A:  With TAP6.0.2416 or later and a Maintenance Subscription date of October 31, 2011, or later, you can use the “XLStoDBF” utility in TAP.

Note that all values in this example are for demonstration purposes only.  You should determine appropriate settings for your application.

The native database format for numerous TAP files (Fixed Facility, AutoPath data, HDSpectrum data, etc.) is the dBase (.DBF) file format.  In most cases, the TAP application provides an import function to read files in the Microsoft Excel™ .XLS or comma-delimited .CSV formats into the .DBF files.

With the TAP release and Maintenance Subscription noted above, you can use the XLStoDBF utility for those cases where it is more convenient to convert data files before running the TAP application.  For example, you may want to use your own software to create a data file in the .CSV format containing records to be processed by AutoPath.  The XLStoDBF utility enables you to create your file and then to convert it to the AutoPath .DBF format before running AutoPath.

The XLStoDBF command line syntax is described below:

SWHDXLStoDBF.exe /SOURCE=mysource [/TARGET=mytarget] [/TYPE=type] [/SHEET=myxlssheet]

Where

The Data Transfer function is also available from the TAP menu:

A form is displayed to select the Source and Target files:

 

Copyright 2011 by SoftWright LLC