[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

06/25/2007 at 09:46AM PDT, ID: 22656189
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.4

OWC Excel/Office Pivot Table - Object tag - Server-side data connection?

Asked by psk1 in FrontPage-Expressions, ActiveX, Microsoft Excel Spreadsheet Software

Tags: pivot, owc, table

I have two HTM files, each for displaying an Office/Excel Pivot Table on the web (using OWC).  One was created with FrontPage (insert>component>pivot table, property toolbox>data source...) and one from Excel (select pivot table, save as web page...).

The Excel exporting process produced also a couple of XML files named "filelist.xml" and "...cachedata....xml" containing all data, referenced below.  The core object tag looks like this (long XML data replaced with '...'):

<object
 id="Group_Demand_Report_Chicago_29815_PivotTable"
 classid="CLSID:0002E552-0000-0000-C000-000000000046">
 <param name=XMLData
 value="&lt;!--[if gte mso 9]&gt;&lt;xml xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot;&#13;&#10; xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot;&#13;&#10;
 ...
 &lt;CacheFile HRef=&quot;pt_files/Group_29815_cachedata001.xml&quot;/&gt;&#13;&#10;
 ...
 &lt;/PTFormat&gt;&#13;&#10; &lt;/PivotTable&gt;&#13;&#10;&lt;/xml&gt;&lt;![endif]--&gt;">
</object>

The FrontPage generation process asked for various data source information, from which I could choose either a data source control, or a connection with command text.  I chose the latter and was forced to pick from a list of installed OLE DB providers.  I picked the Jet provider, put my data in an Access db, typed in an SQL statement got the data connected to the object.  The FrontPage-generated object tag looks like this, and includes no other related files:

<object classid="CLSID:0002E552-0000-0000-C000-000000000046" id="PivotTable1" codebase="file:msowc.cab" width="518" height="205">
  <param name="XMLData" value="&lt;xml xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot;&gt;
  &lt;x:PivotTable&gt;
  &lt;x:OWCVersion&gt;9.0.0.3821&lt;/x:OWCVersion&gt;
  &lt;x:CacheDetails/&gt;
  &lt;x:ConnectionString&gt;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\test.mdb;Persist Security Info=False;Jet OLEDB:Database Password=&amp;quot;&amp;quot;&lt;/x:ConnectionString&gt;
  &lt;x:CommandText&gt;select * from test;&lt;/x:CommandText&gt;
  &lt;x:Name&gt;PivotTable&lt;/x:Name&gt;
  &lt;x:DataAxisEmpty/&gt;
  &lt;x:PivotField&gt;
  &lt;x:Name&gt;ID&lt;/x:Name&gt;
  &lt;x:DataType&gt;Number&lt;/x:DataType&gt;
  ...
  &lt;/xml&gt;">
</object>

Here is my problem.  The Excel-generated object transmits the entire cachedata.xml file to the client upon loading the object.  This is undesirable because the file is too large (can be hundreds of megs).  The FrontPage-generated object, while asking me for connection details upon preparation server-side, stores the connection properties in the object tag, and then looks for this connection client-side, rather than asking the server for data as needed.

I need this object to request data from the server, but not try to download everything all at once as soon as the object is loaded.  What I need to know is whether this OWC is built to handle such a scenario -- can I set this up so that user interaction with the object dictates which data is requested from the server?  Or must the object contain all data client-side, and if so, can it be transmitted in a better way than downloading hundreds of megs of XML data?  If there's a way to code this object tag so that it maintains a connection with the server, reducing bandwidth load at startup, I would like to know about it.
[+][-]06/25/07 09:58 AM, ID: 19357219

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06/25/07 11:01 AM, ID: 19357694

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/11/07 05:17 PM, ID: 19677709

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/25/07 12:44 PM, ID: 19768914

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/18/07 01:42 PM, ID: 19916432

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/18/07 01:54 PM, ID: 19916507

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/18/07 02:08 PM, ID: 19916585

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: FrontPage-Expressions, ActiveX, Microsoft Excel Spreadsheet Software
Tags: pivot, owc, table
Sign Up Now!
Solution Provided By: robotman757
Participating Experts: 2
Solution Grade: A
 
 
[+][-]09/18/07 02:28 PM, ID: 19916719

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/18/07 02:53 PM, ID: 19916872

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/18/07 03:04 PM, ID: 19916928

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/18/07 03:14 PM, ID: 19916982

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/18/07 03:31 PM, ID: 19917078

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/18/07 04:41 PM, ID: 19917413

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-91