P
Pau Larsen
Hi,
I have some XML data and I want to load an OWC 11 PivotTable based on that
data.
I am thinking that loading using the XMLData property is the way to go. But
I can not figure out the necessary schema for the XML to load. I have
searched and searched with no result.
One way to get the XML format could of course be to read the content of the
XMLData property, but I can only figure out how to populate the pivot by
f.ex. connecting to a database. The XMLData then only contains the
connectionstring and of course no data.
I am thinking that maybe the pivot can not contain data itself and MUST be
connected to a data source?
I was then trying to connect the pivot to the spreadsheet component as I
have managed to populate that component using XMLData. I did so using the
DataSource property that according to the documentation also applies to the
pivot table. Like this:
set PivotTable1.DataSource = Spreadsheet1.Object
No errors but also no results!
Does anyone know where to find the PivotTable Schema for XMLData input?
Does anyone know how to bind a Spreadsheet to a Pivottable?
Does anyone have better ideas for how to populate a Pivottable from a XML
file?
/Pau Larsen
I have some XML data and I want to load an OWC 11 PivotTable based on that
data.
I am thinking that loading using the XMLData property is the way to go. But
I can not figure out the necessary schema for the XML to load. I have
searched and searched with no result.
One way to get the XML format could of course be to read the content of the
XMLData property, but I can only figure out how to populate the pivot by
f.ex. connecting to a database. The XMLData then only contains the
connectionstring and of course no data.
I am thinking that maybe the pivot can not contain data itself and MUST be
connected to a data source?
I was then trying to connect the pivot to the spreadsheet component as I
have managed to populate that component using XMLData. I did so using the
DataSource property that according to the documentation also applies to the
pivot table. Like this:
set PivotTable1.DataSource = Spreadsheet1.Object
No errors but also no results!
Does anyone know where to find the PivotTable Schema for XMLData input?
Does anyone know how to bind a Spreadsheet to a Pivottable?
Does anyone have better ideas for how to populate a Pivottable from a XML
file?
/Pau Larsen