Robert88
Robbie
- Local time
- Tomorrow, 01:43
- Joined
- Dec 18, 2004
- Messages
- 335
Hi All,
If anyone can help I would appreciate it.
I have scanned the internet and this site to not much avail......
But however I did stumble across this code in another site which contains the following code;
Unfortunately I cannot seem to get it to work, can anyone see what I might be doing wrong? Just trying to get the data from test.dbf to a table tblTest_dbf.
I am trying to read a file test.dbf from a cd that is drive D:.
Any help would be appreciated.
Robert88
If anyone can help I would appreciate it.
I have scanned the internet and this site to not much avail......
But however I did stumble across this code in another site which contains the following code;
Code:
Private Sub CmdReadDBF_Click()
DoCmd.TransferDatabase acImport, "ODBC", _
"ODBC;DSN=CDLabel;SourceD*B=D:\;SourceType=DBF", _
acTable, "test.dbf", "tblTest_dbf"
MsgBox "File transfer to tblTest_dbf should be complete? (Cross our fingers)."
End Sub
Unfortunately I cannot seem to get it to work, can anyone see what I might be doing wrong? Just trying to get the data from test.dbf to a table tblTest_dbf.
I am trying to read a file test.dbf from a cd that is drive D:.
Any help would be appreciated.
Robert88