dat files

S

stralkin

I need to import and export files with the .dat extension. These files are in another application that I need to interface with. When opened with a text editor, it is clear that they are simple text files (fixed field) but access does not seem to be willing to recognize files with the dat extension. I do not want to have to manipulate the file extenstion manually - any suggestions?
 
P

prabha

Hi,

This article should have the answer you are looking for:
ACC2000: How to Import a Text File That Has an Extension That Access Does
Not Recognize
http://support.microsoft.com/?id=306144

I hope this helps! If you have additional questions on this topic, please
respond back to this posting.


Regards,

Eric Butts
Microsoft Access Support

"Microsoft Security Announcement: Have you installed the patch for
Microsoft Security Bulletin MS03-026? If not Microsoft strongly advises
you to review the information at the following link regarding Microsoft
Security Bulletin MS03-026
<http://www.microsoft.com/security/security_bulletins/ms03-026.asp> and/or
to visit Windows Update at <http://windowsupdate.microsoft.com/> to install
the patch. Running the SCAN program from the Windows Update site will help
to insure you are current with all security patches, not just MS03-026."


--------------------
| Thread-Topic: dat files
| thread-index: AcPwJ64WhmUcJAZvTo+NvL6wKzld7g==
| X-Tomcat-NG: microsoft.public.access.externaldata
| From: "=?Utf-8?B?c3RyYWxraW4=?=" <((remove)[email protected]>
| Subject: dat files
| Date: Tue, 10 Feb 2004 14:46:11 -0800
| Lines: 1
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.access.externaldata
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.access.externaldata:48825
| NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
| X-Tomcat-NG: microsoft.public.access.externaldata
|
| I need to import and export files with the .dat extension. These files
are in another application that I need to interface with. When opened with
a text editor, it is clear that they are simple text files (fixed field)
but access does not seem to be willing to recognize files with the dat
extension. I do not want to have to manipulate the file extenstion
manually - any suggestions?
|
 
S

stralkin

Thanks. It helps a lot. I would like to use the 2nd method mentioned (not sure I want to mess with the windows registry). I have some programing in vba experience and can understand the vba to rename a file for importing, but not sure how to go about exporting a file with the different extension. is there a companion article on exporting?
 
P

prabha

Use the reverse. Example export out as *.txt then use the methods in the
article to change the extension to *.dat



--------------------
| Thread-Topic: dat files
| thread-index: AcPwP2vAFZtFkjPaQ0mycGvPgh6FhQ==
| X-Tomcat-NG: microsoft.public.access.externaldata
| From: "=?Utf-8?B?c3RyYWxraW4=?=" <[email protected]>
| References: <[email protected]>
<[email protected]>
| Subject: RE: dat files
| Date: Tue, 10 Feb 2004 17:36:07 -0800
| Lines: 1
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.access.externaldata
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.access.externaldata:48830
| NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
| X-Tomcat-NG: microsoft.public.access.externaldata
|
| Thanks. It helps a lot. I would like to use the 2nd method mentioned
(not sure I want to mess with the windows registry). I have some programing
in vba experience and can understand the vba to rename a file for
importing, but not sure how to go about exporting a file with the different
extension. is there a companion article on exporting?
|
 

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