EXPORT

The EXPORT statement will export data to either a CSV or an HTML file for use in other applications.

EXPORT(Subform//FileName//Delimiter//ExportType)


Parameters

Subform
            Value from 0-5 depending on which subform data you wish to export.
            0 = Main Form datasource
            1 = Subform#1
            2 = Subform#2
            3 = Subform#3
            4 = Subform#4
            5 = Subform#5

FileName
            The name of the file to export your data to.

Delimiter
            The character used to delimit this file (Usually a comma)

ExportType
            1 = CSV/TXT file
            2 = HTML file