Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Open database from Excel

I have a module where I open an access97 database and it works fine. Im
using the following code:

Dim DB As DAO.Database, RS As DAO.Recordset, strSQL As String
Set DB = DBEngine(0).OpenDatabase("C:\db1.mde", False, False)

At the moment I covert this database to access2002 and this code doesnt
work. Whats happened?
Please I need help
José

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Open database from Excel

Have you asked your question in the Access groups? You might get a better
answer there.

On Wed, 3 Nov 2004 22:33:09 -0800, "José"
wrote:

I have a module where I open an access97 database and it works fine. I’m
using the following code:

Dim DB As DAO.Database, RS As DAO.Recordset, strSQL As String
Set DB = DBEngine(0).OpenDatabase("C:\db1.mde", False, False)

At the moment I covert this database to access2002 and this code doesn’t
work. What’s happened?
Please I need help
José


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2002 Add-in: Open Database Connectivity available for Excel Nick B Excel Discussion (Misc queries) 8 December 7th 06 06:04 PM
Using EXCEL 2003 how do I open a Lotus Approach 9.5 database? JHB Excel Worksheet Functions 4 February 3rd 05 10:43 PM
Open Access Database under and Excel window using a Macro BMSpell Excel Worksheet Functions 1 January 8th 05 05:32 PM
checking if an access database is open from excel macro Keyur Excel Programming 0 April 16th 04 04:03 PM
Open Ms Access database with excel macro Sani Excel Programming 2 November 19th 03 06:06 AM


All times are GMT +1. The time now is 02:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"