Article ID: 158923
Article Last Modified on 9/13/2006
NOTE: In the following procedure, replace "C:\My Documents\Db1.mdb" with the correct path to the database you created in step 1.
Function TestTransfer()
DoCmd.TransferDatabase acImport, "Microsoft Access", _
"C:\My Documents\Db1.mdb", acReport, "Report1", "Report1"
End Function
Macro Name Action
--------------------------------
AutoExec RunCode
MsgBox
AutoExec Actions
-------------------------------
RunCode
Function Name: TestTransfer()
MsgBox
Message: Database Is Open!
"C:\MSOffice\Access\MSAccess.exe" "C:\My Documents\Db2.mdb" /Runtime
Keywords: kbbug kbfix kbprogramming KB158923