Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access DatabaseTransfer in VB

Status
Not open for further replies.

Tomorrow

Programmer
Jan 9, 2003
12
0
0
AU
I have created a program in XP using
dim cnn as new Access.Application
cnn.opencurrentdatabase "Database path"

Then using
cnn.docmd.transferdatabase acimport "ODBC", etc.
to import data into the open database.

This is working well.

When I try to run this program on an Access 2000 database it will accept - dim cnn as new Access.Application but will not do the second line of setting the location of the database.

When I originally used this code I required the msjro.dll and I have updated this in the Access 2000 database.

Can anyone help please

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top