Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access 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 May 5th, 2004, 09:20 AM
Registered User
 
Join Date: May 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Convert ADO recordset to DAO recordset

My company has some legacy code that uses DAO against an Access database. On some of our large sites with 10,000+ records per table the application slows to an unusable speed. We would like to move the back end from Access to MSDE or SQL Server. Unfortunatly the schedual does not allowed for the time to re write the application in ADO to connect to those sources.

I am wondering if anyone knows of a way to connect to the database with ADO and retreive recordsets from it, but then move those recordsets to DAO so that our controls can bind to them.

Some recordsets will be thousands of records long so a record by record move is not feasible.

Thanks is advance.

Andrew Taft
 
Old May 5th, 2004, 02:31 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Clarksville, TN, USA.
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can continue to use DAO against a MSDE or SQL Server database. You do not need to change the code, just change the connection string to the database.



Sal




Similar Threads
Thread Thread Starter Forum Replies Last Post
Clone DAO Recordset into ADO Recordset kamrans74 VB How-To 0 March 6th, 2007 11:57 AM
Working with DAO recordset cesemj VB How-To 6 June 9th, 2006 11:07 PM
DAO Recordset Problems SteveH Access VBA 1 October 5th, 2005 05:39 PM
Convert ADO connection to DAO database dr_morose Access VBA 0 November 17th, 2004 05:44 PM
Convert ADO reocordset to DAO recordset use report redd Access 1 September 24th, 2004 03:34 PM





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