- Use conditions
- Binary Memo column (image)
- Limit
<Table>.ToXML (Function) In french: <Table>.VersXML Creates an XML file from the data found in a Table or TreeView Table control. Remarks: - By default, a style sheet (".XSL" file) is automatically generated when creating the XML file.
- The document entity of generated XML file is named WINDEV_TABLE.
Syntax
<Result> = <Table control>.ToXML(<Name of the XML file> [, <Options> [, <Start row> [, <End row>]]])
<Result>: Boolean - True if the file was created,
- False otherwise.
<Table control>: Control name Name of the control to be used. This control can correspond to: - a Table control.
- a TreeView Table control.
<Name of the XML file>: Character strings Name and full path of XML file to create. The file is replaced with the new file if it already exists. <Options>: Optional Integer constant Configures the XML file to create. | | taColumnDisplayedOrder | Exports the columns according to the order of columns currently displayed in the control (and not according to the order of columns defined in the editor).
| taColumnsTitles (default value) | The title of the columns is inserted in the file. | taNoTitle | Only the data is copied to the file. | taNoTotal | Does not export: - the rows containing totals, mean and automatic count (these rows are exported by default).
the rows containing custom calculations (these rows are exported by default).
| taNoXSL | The style sheet (".XSL" file) is not created. | taSelectedLines | Exports the selected rows only (all the rows are exported by default). | taWithInvisibleColumns | Also exports the invisible control columns.
|
<Start row>: Optional integer Number of the row where the export will start. If this parameter is not specified, the start row is the first row of the control. <End row>: Optional integer Number of the row where the export will end. If this parameter is not specified, the end row is the last row of the control. Remarks Use conditions <Table>.ToXML can be used on: - a Table or TreeView Table control based on a data file.
- a Table or TreeView Table control populated programmatically.
- a single-selection or multi-selection control.
Limit The merged columns are ignored.
This page is also available for…
|
|
|
|