Home Search

DriveWorks Solo 21
CSVFromTable

Send Feedback

CSVFromTable

This Function will return a comma separated CSV string from a DriveWorks Table.

Syntax

CSVFromTable([Data])

Where:

Data is the name of the table that a CSV string is created from.

Examples

Rule

Meaning
TableAverage(DwLookupStationaryOrder)

Creates a CSV string for the Lookup table with the name StationaryOrder

Example Data

Example StationaryOrder table (used in the example above).

ItemPriceQuantity
HB Pencil0.603
2B Pencil0.602
Black Biro0.801
Rubber1.501
HB Pencil0.602
Black Biro0.801

Result As CSV

The result given in the example, when viewed as a CSV file (in Notepad or similar), will look like:

Item,Price,Quantity
HB Pencil,0.6,3
2B Pencil,0.6,2
Black Biro,0.8,1
Rubber,1.5,1
HB Pencil,0.6,2
Black Biro,0.8,1