Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default Run Time Error 3343 - Unrecognized database format:

I am writing a query to populate an excel sheet in the same way that I
have in many occasions in the past:

1) open the db using DAO
2) run the query with OpenRecordset
3) transpose the array and paste it into the sheet

When I attempt this today, I get:

Run Time Error 3343 - Unrecognized database format:

Looking around on the 'net, this appears to suggest db corruption.
However, the db repairs/compresses almost instantly and reports no
errors. It can be used problem-free.

I have a reference to MS DAO 2.5/2.51 in Excel's References. Perhaps
this is too old, but I can't seem to find a newer one in the Available
References list.

Anyone have any ideas here?

Maury
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default Run Time Error 3343 - Unrecognized database format:

Ahhh, it's a version problem. Hand-including DAO 3.6 fixed the
problem.

Now does anyone know how to tell the OpenDatabase that I'm using
integrated security? It keeps popping up a dialog that has "Use
Trusted Connection" turned on, which I want, but I don't want the
silly dialog to appear. Is there some way to do this in the connection
string?

Nayrt
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Run Time Error 3343 - Unrecognized database format:

Hello Maury,

I suggest you use ADO instead for database connection.

--
Regards

Jean-Yves Tfelt
Europe


"Maury Markowitz" wrote:

Ahhh, it's a version problem. Hand-including DAO 3.6 fixed the
problem.

Now does anyone know how to tell the OpenDatabase that I'm using
integrated security? It keeps popping up a dialog that has "Use
Trusted Connection" turned on, which I want, but I don't want the
silly dialog to appear. Is there some way to do this in the connection
string?

Nayrt

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default Run Time Error 3343 - Unrecognized database format:

On May 23, 5:24*am, Jean-Yves
wrote:
I suggest you use ADO instead for database connection.


How do I connect to a mdb this way? Believe it or not I've never had
to do this in the past, I normally talk directly to the SQL Server.

Maury
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Run Time Error 3343 - Unrecognized database format:

Hi Maury,

Google for ADO Jean-Yves.

I gave already plenty of examples
Or ADO connection/ ADO recorset.
Depending on the database format, only the connnection string is different.

--
Regards

Jean-Yves Tfelt
Europe


"Maury Markowitz" wrote:

On May 23, 5:24 am, Jean-Yves
wrote:
I suggest you use ADO instead for database connection.


How do I connect to a mdb this way? Believe it or not I've never had
to do this in the past, I normally talk directly to the SQL Server.

Maury



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
Unrecognized format. Possum Excel Discussion (Misc queries) 1 July 21st 09 06:26 AM
Excel 2007 unrecognized file format in Excel 2003 More options EagleOne Excel Discussion (Misc queries) 1 February 28th 07 01:44 PM
Unrecognized format steeler86 Setting up and Configuration of Excel 0 April 21st 06 05:27 PM
Error of old type library or unrecognized HRESULT JoKi Excel Programming 0 November 15th 05 02:02 AM
Format -Time Error on Excel 97 Pete T[_2_] Excel Programming 5 October 22nd 03 02:09 AM


All times are GMT +1. The time now is 06:59 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"