- Local time
- Today, 00:30
- Joined
- Jan 23, 2006
- Messages
- 15,456
I just ran this code with spec SachExample
In Sample2 I modified dates to YMD format in the sample2.txt
This the specification:
OutPut
MyTesTTable MyTesTTable
In Sample2 I modified dates to YMD format in the sample2.txt
Code:
Sub MyTableImport()
DoCmd.TransferText acImportDelim, "SachExample", "MyTesTTable", "C:\users\jp\documents\documents_Lenovo\Documents\Sample2.txt", True
End Sub
This the specification:
OutPut
MyTesTTable MyTesTTable
pername | perCity | perstate | perDoB |
---|---|---|---|
John | Miami | FL | 21-Apr-98 |
Bob | Chicago | IL | 15-Nov-92 |
Fred | Toronto | ON | 30-Aug-01 |