Description: Executes an Excel import directly from an import-schema file and a workbook file.
Calling convention: CIP_CallExcelImportSchema("ImportSchemaFileName": String, "XLSFileName": String, [ShowDialog: Boolean = False], [TargetDBName: String]): Boolean
Parameters:
ImportSchemaFileName: path of an existing, non-NULL XML import-schema file.
XLSFileName: path of an existing, non-NULL workbook file.
ShowDialog: optional flag controlling whether the import dialog is shown; omission or NULL defaults to FALSE.
TargetDBName: optional database-connection name. An explicit empty string or NULL selects the current database; omission leaves the target to the schema.
Returns: True after the import completes. Invalid arguments, missing files, an unknown target connection, or an import error raise an exception; the initialized failure state is False.
Availability: Default desktop environment with Excel import support and access to both files.
Example:
CIP_CallExcelImportSchema("C:\Imports\Production.xml", "C:\Imports\Production.xls", false, "ProductionDB");