Delimitation Tag

ClosedDescription

Sets the field delimitation type.

ClosedSyntax

<Delimitation>Value</Delimitation>

Where Value can be set to one of the following:

ClosedParent Tag

<RecordSet>

ClosedRemarks

The <Delimitation> tag sets the method of delimitation for a text file. You can use comma, mixed quote and comma, quote and comma, tab, and custom delimited text files.

<Delimitation> 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)

Related Topics