writeToFile

void dataSet.writeToFile ( String fileName ) (professional and enterprise editions only)

Description

Write DataSet string and integer contents to a file. The fields will be tab-delimited and records hard-return delimited.

Parameters

  • fileName File path where the contents of the DataSet should be written. If the file already exists the contents will be appended to the file.

Return Values

Returns void. If the file cannot be written to then an error will be thrown.

Change Log

Version Description
4.5 Available for professional and enterprise editions.

Examples

Write DataSet Contents to a File

 // Writes the data found in the current data set to the file
 // "extracted_data.txt".

 dataSet.writeToFile( "C:/site_data/extracted_data.txt" );