ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
True if the operation was performed, False if an error occurred. HError is used to identify the problem.
Name of the HFSQL data file into which the import must be performed.Remark: If the HFSQL data file used does not physically exist, it will be automatically created.
Full access path to XLS or XLSX file to import.
Only the XLSX files can be used.
Worksheet number in the XLS or XLSX file to import. If this parameter is not specified, the first worksheet in the XLS or XLSX file will be imported.
List of names of items in the data file into which the import will be performed. The names can be delimited by single quotes and they are separated by commas or CR characters.The names of the composite key items, binary memo items and binary items are ignored. The non-imported items will be initialized with their default value described in the analysis.If this parameter is not specified or if it corresponds to an empty string, all the items are imported (except the composite keys, the binary items and the binary memos) in the physical order of description.
Configures the type of import to perform:hCopyAutoIdThe automatic identifier is copied. It is not recalculated.hImpCreationIf the import data file exists, it is overwritten.hImpIgnoreFirstLineThe first row of the imported XLS file is ignored.hImpIgnoreEmptyItemIf one or more items are not filled in the XLS file, the corresponding rows are still imported. The missing items contain:the default value of items if the hDefaultVal constant is specified.the value of items in the current record before the call to HImportXLS.hImpBreakableThe import can be interrupted by pressing the Esc key on the keyboard.If the import is interrupted, the imported records are kept in the data file.hImpNormal(default value)If the import data file already exists, it is filled with the imported data ; otherwise, the data file is created.
No management of integrity and no management of duplicates.The non-imported items take the value of the current record. The automatic identifiers are recalculated.
The management of integrity and duplicates is always enabled.hImpTestDuplicatesEnables the management of duplicates on unique keys during the import (the management of duplicates is enabled on unique keys only and not on the entire record).
The management of duplicates is always enabled.hImpTestIntegrityChecks the integrity during the import.
The management of integrity is always enabled.hDefaultValFor the non-imported items, the values of the current record are reinitialized:with their default value if the hDefaultVal constant is specified.or with the value of the corresponding fields in the current Record before calling the HImportXLS function if the hDefaultVal constant is not specified.
Name of window where the progress bar will be displayed, Name of Progress Bar control used to display the progress. This parameter is not available.
Last update: 10/22/2021
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: