Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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
Reply With Quote
  #2 (permalink)  
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:56 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.