the thing with the specification worked well, but only if there are the same columns in every file. i have to deal with files, where only some of the table's columns can be found.
j
hi i wrote following sub to import a number of textfiles into a table:
Sub import()
Dim i As String
i = 0
Dim filename As String
While i < 158
filename = "C:\" + i + ".txt"
DoCmd.TransferText acImportDelim, , "tbl_import", filename, 1
i = i + 1
Wend
End Sub...
hi, i've got following problem:
if i insert a datarow into one of my tables, everything works well. (no errors) but when i select this row, the wrong data has been inserted into my primary key field.
insert into my_table (prim, a, b) values ('1234','a1','b1');
OK
select * from my_table;
prim...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.