I have text file that imported into access using the
DoCmd.TransferText acImportDelim, "LABOR IMPORT SPECIFICATION", "LABOR", "O:\LABOR.TXT", 0
This textfile is created using a software called scan books, so all the forms are scanned and the information goes into this text file. The problem I am encounter is that sometimes the forms don't scan properly on the file so instead it adds a line of garbage. When I imported to access all this garbage gets also imported. I was wondering if there is way of importing this file but one field at the time using code so that I can check it. Otherwise I will have to edit the the text file manually. Any suggestions will be greatly appreciated.
PS. I would like to thank all of you who have helped in the past. I did not know where else to thank everyone. This is a great forum.
DoCmd.TransferText acImportDelim, "LABOR IMPORT SPECIFICATION", "LABOR", "O:\LABOR.TXT", 0
This textfile is created using a software called scan books, so all the forms are scanned and the information goes into this text file. The problem I am encounter is that sometimes the forms don't scan properly on the file so instead it adds a line of garbage. When I imported to access all this garbage gets also imported. I was wondering if there is way of importing this file but one field at the time using code so that I can check it. Otherwise I will have to edit the the text file manually. Any suggestions will be greatly appreciated.
PS. I would like to thank all of you who have helped in the past. I did not know where else to thank everyone. This is a great forum.