TabExporter

Methods Summarized

TypeNameSummary

Add a dataprovider from specified foundset to export.

Export to text 'separated value' data (*.

Methods Detailed

addDataProvider(dataprovider)

Add a dataprovider from specified foundset to export.

Parameters

  • String dataprovider The dataprovider string to add as a column to export

Returns: DataProviderExport dataprovider export object

Sample

var exporter = plugins.textxport.createExporter(forms.form1.foundset,';',true);
exporter.addDataProvider('orderid').setHeaderText('Order ID');
exporter.addDataProvider('item_id').setValueList('myvaluelist');
exporter.addDataProvider('mydate').setFormat('yyyy/dd/MM');
var content = exporter.textExport();

textExport()

Export to text 'separated value' data (*.tab/*.csv), based on values set on exporter

Returns: String exported text

Sample

var exporter = plugins.textxport.createExporter(forms.form1.foundset,';',true);
exporter.addDataProvider('orderid').setHeaderText('Order ID');
exporter.addDataProvider('item_id').setValueList('myvaluelist');
exporter.addDataProvider('mydate').setFormat('yyyy/dd/MM');
var content = exporter.textExport();

Last updated