G
Guest
I'm trying to export a table to my desktop using the TransferDatabase method.
Here's the code behind my command button:
Private Sub Command58_Click()
DoCmd.TransferDatabase acExport, "dBase IV", "C:\Documents and
Settings\Windows\Desktop\Order Entry 2005 Current.mdb", acTable,
"HDRPLAT.dbf", "C:\Documents and Settings\Windows\Desktop"
End Sub
Access tells me this is not a valid path. I got it by using ?CurrentDB.Name
in the Immediate Window. Any idea what the deal is?
Here's the code behind my command button:
Private Sub Command58_Click()
DoCmd.TransferDatabase acExport, "dBase IV", "C:\Documents and
Settings\Windows\Desktop\Order Entry 2005 Current.mdb", acTable,
"HDRPLAT.dbf", "C:\Documents and Settings\Windows\Desktop"
End Sub
Access tells me this is not a valid path. I got it by using ?CurrentDB.Name
in the Immediate Window. Any idea what the deal is?