Solved

TransferDatabase acExport Problem

Posted on 2009-05-05
4
494 Views
Last Modified: 2012-05-06
Hi Experts,
I'm having a problem with a TransferDatabase acExport piece of code that when it runs just seems to delete the destination table from the destination database. The code is as below. I am getting the following VB error: Run Time 3011, Microsoft Jet unable to find the object. Any ideas much appreciated.
THanks
Martywal
DoCmd.TransferDatabase acExport, "Microsoft Access", "\\Homer\Analytics\International\Minotaur 97.mdb", acTable, "BaseRateDailyTBL", "BaseRateDailyTBLB"

Open in new window

0
Comment
Question by:martywal
  • 2
  • 2
4 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 24303144
Can you manually perform the Export without error?

Are you connected to the "Homer" network resource (that is, can you use Windows Explorer to navigate to that location)? If not, then Access won't be able to find your database and will error out.

Your TransferDatabase call is incomplete, but I presume that's a typo ... could you repost the entire call?
0
 

Author Comment

by:martywal
ID: 24303195
Hi LSMconsulting,
I am connected to "Homer" and the full code is below.
I am however unable to export mannually, is 2000 to 97...
Is there a way around this?

DoCmd.TransferDatabase acExport, "Microsoft Access", "\\Homer\Analytics\International\Minotaur 97.mdb", acTable, "BaseRateDailyTBL", "BaseRateDailyTBLB", False, False

Open in new window

0
 

Author Comment

by:martywal
ID: 24303227
Ok have now found a way around by using a MakeTable query in the 2000 which builds the table in the 97. THanks for your help Martywal
0
 
LVL 84
ID: 24303236
<I am however unable to export mannually, is 2000 to 97...>

That would have been good info to add to your original post ... glad you got it fixed!!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question