Specifies the name and location of an import trace file.
DataWindow objects
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. |
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.
On the Data Import page in the Properties view for the DataWindow object, select XML from the Format to Configure list and select the Trace XML Import check box.
This example specifies that trace information should be written to a file called xmltrace.log in the C:\temp directory.
dw_1.Object.DataWindow.Import.XML.Trace = 'yes' dw_1.Object.DataWindow.Import.XML.TraceFile = 'C:\temp\xmltrace.log'