Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add LOG file extension to Access Import?

Status
Not open for further replies.

Quintios

Technical User
Mar 7, 2002
482
US
I have a bunch of LOG files that I need to import into AccessXP. I attempted to import just one, and Access complained that it didn't understand the file format (I had to enter *.* manually in order to "see" the file in the file import browser). I changed the extension to TXT and the file imported just fine.

The short term solution is to change all the LOG files to TXT files, but I'd rather not do that. I would like to add the LOG to the 'text file' selection in AccessXP. How do I do that?

Thanks in advance!

Onwards,

Q-
 
It's a registry thing: part of M$'s drive to make things easier for us!!
(actually I think it's a misguided attempt at security, but you never can tell!)

To fix this you need to edit your registry.
Go to the key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Jet\4.0\Engines\Text\DisabledExtensions


and add your extension to the list.

check
for the full knowledge base article.

hth

Ben

----------------------------------------------
Ben O'Hara

"Where are all the stupid people from...
...And how'd they get so dumb?"
NoFX-The Decline
----------------------------------------------
 
I'm having problems with the text after import. I think its somehow related to what is referred to as the 'File Orgin' (in Access97) or the "Code Page" (AccessXP). I'm using AccessXP, and when I change this Code Page combo box in the Advanced text import spec dialog box, the 'preview' of the imported file changes. Regardless of how the text appears, I still have the same problem when I view the information in the table.

I have another thread discussing this. Any help you can provide is appreciated.

thread705-542396

Onwards,

Q-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top