Import.XML.TraceFile
property (DataWindow object)
Description
Specifies the name and location of an import trace file.
Applies to
DataWindow objects
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.Import.XML.TraceFile |
Describe and Modify argument:
|
1 |
"DataWindow.Import.XML.TraceFile { = ' value ' }" |
|
Parameter |
Description |
|---|---|
|
value |
A string whose value is the name of the trace |
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
This example specifies that trace information should be written to
a file called xmltrace.log in the C: emp directory.
|
1 2 |
dw1.Object.DataWindow.Import.XML.Trace = 'yes' dw1.Object.DataWindow.Import.XML.TraceFile = 'C: empxmltrace.log' |
See also