Chat with a LIVE Microsoft Access Expert!
 
       
 

         

   

Go Back   Access World Forums > Microsoft Access Discussion > Modules & VBA

 
 
Chat with a LIVE Microsoft Access Expert!
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-08-2004, 06:39 AM
tmort tmort is offline
Registered User
 
Join Date: Oct 2002
Posts: 86
tmort
Error 3011 Jet Engine Could Not Find Object

I have a split Access database that is in A2000 format. I have a query by form in it that used to work. Now I am getting Error 3011, Microsoft Jet Database Engine could not find object...

When I run the debugger it highlights the last line listed below.

strFinalSQLStatement = strDefaultSQLString + " " + strSQLClause1 + " " + strSQLClause2 + " " + strSQLClause3 + " " + strSQLClause4 + " " + strSQLClause5 + " " + strSQLClause6 + " " + strSQLClause7 + " " + strSQLClause8 + " " + strOrderByClause


Me.child0.Form.RecordSource = strFinalSQLStatement

I get the same error with a number of earlier versions as well. I have also got a new computer and now have Office 2003 installed if this might have anything to do with it.

Anyone have any ideas?

Thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 12-08-2004, 06:46 AM
llkhoutx llkhoutx is offline
Registered User
 
Join Date: Feb 2001
Location: Houston,Texas USA
Posts: 3,202
llkhoutx is on a distinguished road
Your hiding the problem by not posting the value of "strFinalSQLStatement."
__________________
Get the job done right, rather than do the right job.
Do it fast or do it right. Give a man a fish . . .
Reply With Quote
  #3  
Old 12-08-2004, 06:48 AM
KenHigg KenHigg is offline
~~~~~~~~
 
Join Date: Jun 2004
Posts: 12,298
KenHigg will become famous soon enoughKenHigg will become famous soon enough
Should these be '&'s and not '+'s?

ken
__________________

ken
Reply With Quote
  #4  
Old 12-08-2004, 12:01 PM
FLabrecque FLabrecque is offline
Registered User
 
Join Date: Nov 2004
Location: Montreal, Canada
Posts: 93
FLabrecque is on a distinguished road
KenHigg: Both of them works.. although I would try it with "&" instead. If that doesn't work, post the value of each variable (not just strFinalSQLStatement).
Reply With Quote
  #5  
Old 12-30-2004, 08:20 PM
JVIKING
Guest
 
Posts: n/a
Error 3011

Did you solve the problem of "the Microsoft jet database engine could not find the object"? I have had the same problem after installing a new hard disk. I am using the same Office 2003 software but cannot open any of my databases. Help!!!
Reply With Quote
  #6  
Old 01-03-2005, 04:57 AM
tmort tmort is offline
Registered User
 
Join Date: Oct 2002
Posts: 86
tmort
Yes I solved the problem. I had cut and pasted the code somewhere along the line and didn't get it all. It was missing a couple of lines.
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:50 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) copyright 2009 Access World