Import.XML.TraceFile

Description

Specifies the name and location of an import trace file.

Applies to

DataWindow objects

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.Import.XML.TraceFile

Describe and Modify argument:

"DataWindow.Import.XML.TraceFile { = ' value ' }"

Parameter

Description

value

A string whose value is the name of the trace output file. If the file does not exist, it is created.

Usage

If you want to collect trace information, the Import.XML.Trace property should be set before you call the ImportClipboard, ImportFile, or ImportString method to import data from an XML document. The trace information is appended to the file you specify using the Import.XML.TraceFile property. If no trace file is specified, trace information is appended to a file named pbxmltrc.log in the current directory.


In the painter

In the Data Import tab in the Properties view for the DataWindow object, select XML from the Format to Configure list, and type a file name in the Trace File Name text box.

Examples

Example 1

This example specifies that trace information should be written to a file called xmltrace.log in the C:\temp directory.

dw1.Object.DataWindow.Import.XML.Trace = 'yes' 
dw1.Object.DataWindow.Import.XML.TraceFile =
   'C:\temp\xmltrace.log' 

See also