G
Guest
guys, I am currently working on a project at the office that I need help. I
have created a database of traffic. Two of the fields from the exported CSV
file are IP addresses and they are in normal dotted notation (i.e.
10.138.23.14).
When I import the data manually using file, get external data, import, it
works great. I get the IP address into the file and it looks like it is
above.
However, when I use an automated process using the following command
DoCmd.TransferText acImportDelim, , "Import_test", strFolder & strFile, True
The strFolder & strFile is the location of the files. I have a number of
files to import. When I use the command above it is treating the DOTS in the
IP address as a decimal point, so the number above is inserted into the table
as 10.13823.
My question is how can I automatically import an IP address so that I don't
have to do each days import manually? The automatic import also messes up
the the date. The date in the file is 2006-9-10 and when automatically
imported it is 9/10/2006.
So any help would be greatly apprechated.
have created a database of traffic. Two of the fields from the exported CSV
file are IP addresses and they are in normal dotted notation (i.e.
10.138.23.14).
When I import the data manually using file, get external data, import, it
works great. I get the IP address into the file and it looks like it is
above.
However, when I use an automated process using the following command
DoCmd.TransferText acImportDelim, , "Import_test", strFolder & strFile, True
The strFolder & strFile is the location of the files. I have a number of
files to import. When I use the command above it is treating the DOTS in the
IP address as a decimal point, so the number above is inserted into the table
as 10.13823.
My question is how can I automatically import an IP address so that I don't
have to do each days import manually? The automatic import also messes up
the the date. The date in the file is 2006-9-10 and when automatically
imported it is 9/10/2006.
So any help would be greatly apprechated.