Opens a set of Tab files for importing (MapInfo file format).
Syntax
intl pipImportOpenTab ( pipImporter imp_h, pstr fileName, pstr _id, pstr
_name2 );
Arguments
imp_h The handle returned by pipImportInit for the current import process. Input.
fileName The name of one the Tab files. The TAB, DAT or DBF, MAP, ID, and IND files must all have the same base filename. This parameter may either be the complete path, filename, and extension of one of the Tab files, or the path and base filename of all the Tab files. In either case, all associated Tab files will be opened. Input.
_id Name of ID to use. If _id is NULL, contains an empty string, or contains an ID that does not match a column in the DBF file, the first column provides the ID. Input.
_name2 Secondary name. If NULL, there is no secondary name. Input.
Return Value
PIP_OK PIP_ERROR
Prerequisites
pipImportInit.
Alternates
pipImportOpenBNA, pipImportOpenMIF2 or pipImportOpenShape.
Notes
This function opens a set of MapInfo files for importing. Tab files include TAB, DAT or DBF, MAP, ID, and IND files. TAB files are the control files. DAT and DBF files contain attributes and names of polygons. MAP files include graphic data. ID and IND files contain indexes to the graphic and attribute data.
The _id parameter specifies the ID to use. If you specify an invalid ID, pipImportOpenTab defaults to the first column and generates an explanatory message. Precisely recommends calling pipErrorGet immediately after pipImportOpenTab to retrieve these messages.
Example
See pipImportInit.