UseDatabase Tag

ClosedDescription

Sets whether the print job will use information from a database.

ClosedSyntax

<UseDatabase>Value</UseDatabase>

Where Value defines whether the print job will use data from a database. Valid values are true or false.

ClosedParent Tag

<PrintSetup>

ClosedRemarks

Set this tag to true to print records from a database that has been connected to your BarTender document.

<UseDatabase> is an optional tag that is used with the <Print>, <FormatSetup>, and <ExportPrintPreviewToImage> commands when the <PrintSetup> 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>Document1.btw</Format>

<PrintSetup>

<UseDatabase>true</UseDatabase>

</PrintSetup>

</Print>

</Command>

</XMLScript>

ClosedRequirements

BTXML Script version 1.0 (BarTender 8.0 and higher)

Related Topics