Close import file

20% Command group 20% Flag affected 20% Reversible 20% Execute on client 20% Platform(s)
Importing and Exporting NO NO NO All

Syntax

Close import file

Description

This command closes the current import file. You should use it once the data has been read in.

Example

# Import from a csv file called myImport.txt in the root of your omnis tree
Calculate lImportPath as con(sys(115),'myImport.txt')
Set import file name {[lImportPath]}
Prepare for import from file {Delimited (commas)}
Import data lImportList
End import
Close import file