Prompt for import file

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

Syntax

Prompt for import file

Description

This command prompts the user to select the name of the import file. The flag is set if the import file is successfully selected, otherwise a Cancel clears the flag, closes the current file and closes the dialog. You use the selected file in any subsequent Import data commands.

If you use Prompt for import file in a reversible block, the import file is closed when the method containing the reversible block terminates.

Example

Prompt for import file
Prepare for import from file {Delimited (commas)}
Import data lImportList
End import
Close import file