SaveTabFile

Takes two parameters, FileName, bUseHeader

Usage:

FileName, bHasHeader
FileName, ["y"]

Description:

Saves the current WorkQuery as a tab delimited text file at the provided path. The optional second parameter defaults to true if not specified, but if set to false will output the data without a header row listing the field names.

Conversion of HTML text escape values are applied to the output, as well as ApplyLang$, and finally conversion from UTF-8 to ANSI. If these conversions are not desired, use a combination of CsvStream$ and SaveFile instead to output unescaped UTF-8.

This command always outputs whitespace wrapped in double quotes. Unlike the LoadTabFile vs. LoadTabFileWS, there is no WS specific version of this command because the performance impact of always considering it is not meaningful.

Example:

SaveTabFile "Private/MyFile.tab"