Run-time error '3011' linking table 
Author Message
 Run-time error '3011' linking table

Hi -

I'm trying to link an Access table in code and get run-time error 3011:

The code is as follows:

    Set td = db.CreateTableDef("LinkedTableName")

    td.Connect = ";Q:\Source\Exxon\CorpOffice\AIS\Test.mdb"
    td.SourceTableName = "WRK_1339244"
    db.TableDefs.Append td

...on that last line I get error 3011:  The Microsoft Jet Database Engine
could not find the object "WRK_1339244".  Make sure the object exists and
the name and path name are spelled correctly.

Everything is correct (DB/path name, table name, and it exists).

Any suggestions?



Fri, 26 Apr 2002 03:00:00 GMT  
 Run-time error '3011' linking table

Please disregard - I found it!



Fri, 26 Apr 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Runtime error 3011 - can't open MSysDb

2. Run-time error '-2147417846 (8001010a)': Automation error (error 440)

3. Run-time error '-2147417846 (8001010a)': Automation error (error 440)

4. Run-time error '-2147221231 (80040111)': Automation error ClassFactory cannot supply requested class

5. Run-time error '31037': Error load form file

6. Run-time error '50003' Unexpected Error

7. Run-Time Error '2950' - Reserved Error

8. run-time error '713': Application-defined or object-defined error

9. rvbrewiz - Run-time error '-2147417851 (80010105)': Automation error

10. Run-time error '50003': Unexpected error

11. Run Time 3011 (Query building problem)

12. Run-time error '429': ActiveX component can't create object

 

 
Powered by phpBB® Forum Software