adding to these extentions:txt,csv,tab,asc,htm,html.

G

Guest

When I try to import a text file with an extention .dat I get an error You
cannot import a text file unless it has one of these
extentions:txt,csv,tab,asc,htm,html. How ca I add the .dat or files with
other extentions to the list of acceptable file extentions?
 
G

Guest

You can't. You have two choices:
1. Rename the file with an acceptable extension. This, of course,
presupposes the format of the file can be understood by Access.
2. Using VBA, open the file, read it line by line, decompose the lines into
fields, and put the data where ever it needs to be.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top