| 20% Command group | 20% Flag affected | 20% Reversible | 20% Execute on client | 20% Platform(s) |
|---|---|---|---|---|
| Importing and Exporting | YES | NO | NO | All |
Prepare for export to file {export-format}
| 100% Export Formats |
|---|
| Delimited (commas) |
| Delimited (tabs) |
| One field per line |
| Omnis data transfer |
| Delimited (user delimiter) |
This command prepares to export records to a file in one of the specified data formats. The file must previously have been set using Set print or export file name.
# export to a file called myExport.txt in the root of your omnis tree
Calculate lExportPath as con(sys(115),'myExport.txt')
Set print or export file name {[lExportPath]}
Prepare for export to file {Delimited (commas)}
Export data lExportList
End export
Close print or export file