I am trying to import a pipe delimited text file into MS Access. The code that I am messing with is:
strPath = "C:\cooper.txt"
strTable = "PIPE"
DoCmd.RunSQL "DROP TABLE " & strTable
DoCmd.TransferText acImportDelim, , strTable, strPath
I'm not sure what to put for the first parameter of acImportDelim, which asks for [SpecificationName]. I also don't know if I need to put something in for [HasFieldNames],[HTML TableName], or [CodePage].
The code may or may not be along the proper lines for this.....I'm not sure. Thanks for your help!
strPath = "C:\cooper.txt"
strTable = "PIPE"
DoCmd.RunSQL "DROP TABLE " & strTable
DoCmd.TransferText acImportDelim, , strTable, strPath
I'm not sure what to put for the first parameter of acImportDelim, which asks for [SpecificationName]. I also don't know if I need to put something in for [HasFieldNames],[HTML TableName], or [CodePage].
The code may or may not be along the proper lines for this.....I'm not sure. Thanks for your help!