i am importing a .txt file into access and get a file conversion error on some of the records. i delete some of the good records and rerun and then the errored records pull into access with no errors. can anyone tell me why it wont pull all the files when they will pull in when i break it into two imports.
DoCmd.DeleteObject acTable, "jrnitm_importerrors"
DoCmd.DeleteObject acTable, "Items"
DoCmd.DeleteObject acTable, "HEADER"
DoCmd.DeleteObject acTable, "Entry"
DoCmd.TransferText acImportDelim, , "Items", "L:\cw\rpts\JRNITM.TXT", False
DoCmd.TransferText acImportDelim, , "HEADER", "L:\cw\rpts\JRNHDR.TXT", False
DoCmd.TransferText acImportDelim, , "Entry", "L:\cw\rpts\JRNENT.TXT", False
DoCmd.DeleteObject acTable, "jrnitm_importerrors"
DoCmd.DeleteObject acTable, "Items"
DoCmd.DeleteObject acTable, "HEADER"
DoCmd.DeleteObject acTable, "Entry"
DoCmd.TransferText acImportDelim, , "Items", "L:\cw\rpts\JRNITM.TXT", False
DoCmd.TransferText acImportDelim, , "HEADER", "L:\cw\rpts\JRNHDR.TXT", False
DoCmd.TransferText acImportDelim, , "Entry", "L:\cw\rpts\JRNENT.TXT", False