Setting that determines whether import trace information is written to a log file.
DataWindow objects
Describe and Modify argument:
"DataWindow.Import.XML.Trace { = ' value ' }"
Parameter |
Description |
---|---|
value |
Whether trace information is written to a log file. Values are:
|
If you want to collect trace information, this 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 Data Import category in the Properties window for the DataWindow object, select XML from the Import list, set XML Trace to True and supply a trace file name.
This example specifies that trace information should be written to a file called xmltrace.log in the C:\temp directory.
[Visual Basic] dw1.Modify("DataWindow.Import.XML.Trace = 'yes' ") dw1.Modify("DataWindow.Import.XML.TraceFile = 'C:\temp\xmltrace.log' ")