Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." 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 Basics 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
  #1 (permalink)  
Old April 7th, 2004, 10:52 AM
Authorized User
Join Date: Oct 2003
Location: Glasgow, , United Kingdom.
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access to Excell via a web page


Is there anyway that i can export specific data from Access 97 into Excel 2000 from an asp web page?

Here is the senario:

The user choses what they want to export from Access from a set of drop down menus on the asp page. On clicking on a submit button, the relevant data is extracted from the database and inserted into an Excel spreasheet.

Is this possible?

Any help is much appreciated.

Thanks in advance.
  #2 (permalink)  
Old April 7th, 2004, 01:57 PM
Friend of Wrox
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts

Using the OLEDBDataAdapter object, you import the data into a data set from Access 97, and specify the OLEDBDataAdapter to update the Excel. How you do this is using the DataAdapter.Update() statement, which updates the data source in Excel. Now, you have to do mappings to connect the dataset to the new data source. Take a look at the Update statement in the MSDN, as well as the OLEDBDataAdapter.


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I access a Web page by Internet Explorer Hoang Excel VBA 7 March 11th, 2008 04:42 AM
How to retrieve a web page from access database method Access ASP 1 May 2nd, 2005 06:29 PM
Import Excell Data into Access Mitch Access 4 February 15th, 2005 10:29 PM
access webcam from within web page bleitner VBScript 0 August 21st, 2004 09:55 AM

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