Link to home
Start Free TrialLog in
Avatar of martywal
martywal

asked on

TransferDatabase acExport Problem

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

ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of martywal
martywal

ASKER

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

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
<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!!