Wrox Programmer Forums
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 6th, 2005, 12:24 PM
Registered User
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Export ASP charts into excel or .ppt slides

I am trying to export ASP charts into excel spreadsheet or .ppt slides.
For excel, I included this line in my ASP page:
Response.ContentType = "application/vnd.ms-excel"
When I executed, I got this error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'AND'.

I got no error if I left that line out.

As far as exporting to .ppt slides, I have no idea.

I want to thank you in advance for any input you provide.

Old January 6th, 2005, 01:37 PM
Friend of Wrox
Join Date: Dec 2004
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel

Article on Making charts in ASP :: http://www.asp101.com/articles/chris/aspcharts/

FYI, any chart creating tool would generate a .gif file after processing the application. So it would be apt to check the code samples included with the tool (like ChartFX or ASPChart).

Best Regards

Old January 6th, 2005, 05:31 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post

It looks like you have a syntax error, can you post the line of code refered to in your error and your final SQL Statement before it hits the database ?

Also worth a look is http://www.greggriffiths.org/webdev/both/excel/ which covers ASP->Excel.

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to Export .aspx pages to .ppt slides sriram s General .NET 9 August 30th, 2007 07:22 AM
Export to excel from ASP jayanp Classic ASP Basics 4 July 31st, 2007 03:01 PM
Export web page to PPT agarwalvidhu C# 4 December 2nd, 2006 03:52 AM
Copying Excel Graphs into PPT presentation malocher Beginning VB 6 0 March 28th, 2005 11:21 AM
SCREEN SHOTS TO PPT-SLIDES amjad_mahmood Excel VBA 0 January 11th, 2005 06:32 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.