I have searched the forum over and cannot figure this one out.
I am trying to import "c:\test\server.txt"
Here is the cmd:
DoCmd.TransferText acImportDelim, , "tablename", "c:\test\server.txt", False
When I run it, it tells me field F1 does not exist in the destination table.
Here is what the txt file looks like:
162979,System,Rdr,ERROR,SHQSR01A,Fri Sep 20 14:49:43 2002,8003,None,The master browser has received a server announcement from the computer CL1270 that believes that it is the master browser for the domain on transport NetBT_CpqNF32. The master browser is stopping or an election is being forced.
162978,System,Rdr,ERROR,SHQSR01A,Fri Sep 20 14:49:13 2002,8003,None,The master browser has received a server announcement from the computer CL1757 that believes that it is the master browser for the domain on transport NetBT_CpqNF32. The master browser is stopping or an election is being forced.
Any clues on how to import a text file correctly?
Also when it asks for a specification type - what is this?
I am trying to import "c:\test\server.txt"
Here is the cmd:
DoCmd.TransferText acImportDelim, , "tablename", "c:\test\server.txt", False
When I run it, it tells me field F1 does not exist in the destination table.
Here is what the txt file looks like:
162979,System,Rdr,ERROR,SHQSR01A,Fri Sep 20 14:49:43 2002,8003,None,The master browser has received a server announcement from the computer CL1270 that believes that it is the master browser for the domain on transport NetBT_CpqNF32. The master browser is stopping or an election is being forced.
162978,System,Rdr,ERROR,SHQSR01A,Fri Sep 20 14:49:13 2002,8003,None,The master browser has received a server announcement from the computer CL1757 that believes that it is the master browser for the domain on transport NetBT_CpqNF32. The master browser is stopping or an election is being forced.
Any clues on how to import a text file correctly?
Also when it asks for a specification type - what is this?
Last edited: