G
Guest
I would like to be able to copy a table into a database created on a network
drive, as a back up.
"Compile Error:
Wrong number of arguments or invalid property assingment"
The code for the event is:
Private Sub CmdCopy_Click()
DoCmd.CopyObject , "U:\MyDB", "Table1cpy", acTable, "Table1"
End Sub
This works fine if I leave out the path and copy the table into the existing
database
drive, as a back up.
"Compile Error:
Wrong number of arguments or invalid property assingment"
The code for the event is:
Private Sub CmdCopy_Click()
DoCmd.CopyObject , "U:\MyDB", "Table1cpy", acTable, "Table1"
End Sub
This works fine if I leave out the path and copy the table into the existing
database