Export data

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

Syntax

Export data list-or-row-name

Description

This command exports data from an Omnis list or row variable.

Example

# 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