G
Guest
Sorry to post this seemingly common problem. I've read and read and tried
various things but still need help. I have an Access 2003 database. I am
need to import multiple comma delimited texts. I can do this very easily
with TransferText.
The problem I have is that I need to extract the first 5 characters of the
file name and the Windows system "Modified" date to add these 2 fields to the
record.
I tried looping through each line of the text file but for some reason, it
isn't recognizing the End of Line character (which is OA I think). I also
tried opening the file to import it into Excel and save it temporarily. Then
import the Excel but of course that causes leading zeros to drop off.
Is there another approach? I saw an interesting post by John Nurick
suggesting using a query such as
SELECT * FROM
[Excel 8.0;HDR=Yes;IMEX=1;database=C:\folder\file.xls;].[sheet1$];
However, I'm not familiar with this method and whether I could use this to
extract the extra 2 fields I need.
Any suggestions?
Thanks
LeAnn
various things but still need help. I have an Access 2003 database. I am
need to import multiple comma delimited texts. I can do this very easily
with TransferText.
The problem I have is that I need to extract the first 5 characters of the
file name and the Windows system "Modified" date to add these 2 fields to the
record.
I tried looping through each line of the text file but for some reason, it
isn't recognizing the End of Line character (which is OA I think). I also
tried opening the file to import it into Excel and save it temporarily. Then
import the Excel but of course that causes leading zeros to drop off.
Is there another approach? I saw an interesting post by John Nurick
suggesting using a query such as
SELECT * FROM
[Excel 8.0;HDR=Yes;IMEX=1;database=C:\folder\file.xls;].[sheet1$];
However, I'm not familiar with this method and whether I could use this to
extract the extra 2 fields I need.
Any suggestions?
Thanks
LeAnn