FileName Tag

ClosedDescription

Sets the file name of text or SAPIDoc recordset types.

ClosedSyntax

<FileName>Value</FileName>

Where Value equals the valid file name.

ClosedParent Tag

<RecordSet>

ClosedRemarks

The <FileName> tag sets the path and name of the file to use for the text file or SAPIDoc database.

<FileName> is an optional tag that is used with the <Print>, <FormatSetup>, and <ExportPrintPreviewToImage> commands when the <RecordSet> tag is included in the script.

ClosedExample

<?xml version="1.0" encoding="utf-8"?>

<XMLScript Version="2.0" Name="09232006_103601_Job1" ID="123">

<Command Name="Job1">

<Print>

<Format>Label1.btw</Format>

<RecordSet Name="Text File 1" Type="btTextFile">

<FileName>Data1.dat</FileName>

<Delimitation>btDelimCustom</Delimitation>

<FieldDelimiter>;</FieldDelimiter>

<NumberOfFields>10</NumberOfFields>

<UseFieldNamesFromFirstRecord>true</UseFieldNamesFromFirstRecord>

</RecordSet>

</Print>

</Command>

</XMLScript>

ClosedRequirements

BTXML Script version 1.0 (BarTender 8.0 and later versions)