Hi
I import a text file into a table using the following attached to the on click property of a button on a form:
[DoCmd.TransferText acImportFixed, "mypec", "mytablename", "e:\my documents\textfile.txt"]
This transfers 3 columns of text into fields named:
[mydate] [mytime] [mybarcode] there is a 4th field in the table named: [myname]
My question is, is it possible to add code to the transfer text command that will add data to the [myname] field for every record imported - maybe by user prompted input box ?
(the data would be the same for each feild)
Any help would be appreciated
I import a text file into a table using the following attached to the on click property of a button on a form:
[DoCmd.TransferText acImportFixed, "mypec", "mytablename", "e:\my documents\textfile.txt"]
This transfers 3 columns of text into fields named:
[mydate] [mytime] [mybarcode] there is a 4th field in the table named: [myname]
My question is, is it possible to add code to the transfer text command that will add data to the [myname] field for every record imported - maybe by user prompted input box ?
(the data would be the same for each feild)
Any help would be appreciated