Hi All
I am importing a database into another blank database below is the code m using
Sub makedb()
Dim accessApp As Access.Application
Set accessApp = New Access.Application
accessApp.DBEngine.CreateDatabase "D:\tblImport.accdb", DB_LANG_GENERAL
DoCmd.TransferDatabase acImport, "Microsoft Access", _
"C:\WMDokInt_80_01_32Bit.accdb", acTable, "datLogo", _
"datLogo", False
EndSub
It give me 2046 error(the command or action TransferDatabase isn't available now)
Can anyone Please help?