473,378 Members | 1,364 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

TransferDatabase

Hi all

I have a question regarding the importing of a ODBC database.Here is my code:
Expand|Select|Wrap|Line Numbers
  1. DoCmd.TransferDatabase acImport, "ODBC Database", "ODBC;DSN=TraderDatabase;UID=SYSDBA;PWD=INT7753931;LANGUAGE=us_english;" _
  2.  & "DATABASE=tcv2230:TraderDatabase", acTable, "Products", "TestTable", False, True
  3.  
As soon as click the button to perform the import I get a error message:Run time error Microsoft jet database enjin could not find the object TestTable.Make sure the object exists and that you spell it's name and path correctly

Any help on this would be appreciated.
Jun 10 '10 #1
4 2196
NeoPa
32,556 Expert Mod 16PB
I think the DatabaseType parameter (2nd) should be "ODBC Databases".
Jun 10 '10 #2
Thnx,I tried it but now the error message is:The ODBC Databases type isn't an installed database type or doesn't support the operation you chose.I am quite new to the coding in ACCESS.I am sure there is just something that I am missing somewhere,but don't seem to figure it out.
Jun 10 '10 #3
NeoPa
32,556 Expert Mod 16PB
I'm afraid I can't be much more help as ODBC is very specific to the type. I know one ODBC driver that I've used at work, but the parameters for that one are quite different from most others.

I suggest you try to get some help from the vendor of the ODBC driver. They should be able to help, but as this is so specific it's not likely too many will have the experience to be able to help I'm afraid.
Jun 10 '10 #4
MMcCarthy
14,534 Expert Mod 8TB
Have you tried linking directly to the table using the link table wizard? I'm wondering if there is a problem with the DSN setup.

See if you can create a working link manually so we can move on to looking at syntax if you can.
Jun 10 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Jer | last post by:
I am trying to export the results of a view from an .adp to an .mdb using TransferDatabase. The code I am using is DoCmd.TransferDatabase acExport, "Microsoft Access", _...
0
by: KJones | last post by:
Here is the setup There are three Machines all running Access97 & XP Pro \\readingtill1 \\redingback \\redingtill2 on a LAN And four dbs
6
by: dixie | last post by:
I am using the Docmd.TransferDatabase to transfer part of a table into another smaller database. The source comes from a select query that transfers the part of the table that I need. The...
2
by: Pachydermitis | last post by:
Hi all, I am trying to use transferdatabase to link tables to a shared backend. If someone is already using the back end, transferdatabase tries to lock the table and causes an error. Is there...
1
by: Jens Hofmeier | last post by:
Hello, i want to transfer a table from database sourceMDB to a password protected database named destMDB. I was not able to figure out where to specify the required password ind the parameters...
2
by: AccessStarters | last post by:
I am trying to Import a simple dbase file into my Ak2 TABLES. If I do this manually, it works fine. I get a new table called DBASE with all the data looking good. If I try and do this using VBA...
6
by: Dave Gehrig | last post by:
Hi guys, Using Access 2003 on XP. First time caller, long time listener. I am not a programmer per se, and all my training in coding in the past year or so has come from the wealth of info...
1
by: Danny J. Lesandrini | last post by:
Does anyone know if it's possible to use TransferDatabase to export data to MySQL? If not, how would one go about it? Below is the code I tried to use, but it doesn't work. sTable = "tblLead"...
1
by: solar | last post by:
In copying tables i use the command Transferdatabase shown below.It is a good command, but i need the following refinement. I want to copy the table only when the Yes/No field "accepted" in the...
0
by: rdemyan | last post by:
I'm trying to use TransferDatabase to transfer tables from an external secured DB to a database created in the code. I would like to kind of use automation, although OpenCurrentDatabase apparantly...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.