Transferdatabase acImport with Oracle

J

Jose

I need to import several table from Oracle 9i db.

I get popup:

ODBC -- Connection to "oracle database" fialed

Here is my code:
=====================

Sub Linktbls()
On Error GoTo Err_Linktbls

DoCmd.TransferDatabase
acImport, "ODBC", "ODBC;DSN=Oracle
database;UID=extractor;PWD=xxxx;DATABASE=LoanNext",
acTable, "pub.borradr", "Borradr", True, False

Exit_Linktbls:
Exit Sub

Err_Linktbls:
MsgBox Err.Description
Resume Exit_Linktbls

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top