Results 1 to 3 of 3
  1. #1
    Kishwar is offline Novice
    Windows XP Access 2007
    Join Date
    May 2010
    Posts
    2

    Question Need Helpto Export Access Table to .txt type SDF

    I need help in exporting MS Access table to .txt file in SDF as this file is to be used on some other platform where only text file standard data format i.e. with line return and eof can be read.
    Earlier I was using Dbase table and used to pass the command


    copy to file.txt type sdf and this used to do the trick for me.

    Really need some some help as I'm stuck here as i was upgrading my project from foxpro to VB using Access tables

  2. #2
    Join Date
    May 2010
    Posts
    339

    Export Access Table to .txt type SDF

    Hi Kishwar,

    I tried to find a little info on your problem, heres what I found:
    the link below is a thread about the subject.

    http://www.microsoft.com/office/comm...xp=&sloc=en-us

    For security reasons, newer versions of ACCESS will not import or export
    (via TransferText) text files with nonstandard files extensions -- the only
    file extensions that can be used for text files for ACCESS to import them
    are ".txt", ".csv", ".tab", and ".asc". To handle a ".sdf" file extension,
    see these Knowledge Base articles:

    ACC2000: Importing or Linking a Text File Fails for a File That Does Not
    Have a Valid File Name Extension
    http://support.microsoft.com/default.aspx?id=304206

    ACC2000: "Can't Update. Database or Object Is Read-only" Error Message When
    You Import or Export Files

    ACC2000: How to Import a Text File That Has an Extension That Access Does
    Not Recognize
    http://support.microsoft.com/?id=306144
    (The renaming of the file is the preferred method.)

  3. #3
    Kishwar is offline Novice
    Windows XP Access 2007
    Join Date
    May 2010
    Posts
    2

    Help needed to convert Access Table to .txt

    Dear Access_Blaster

    Thanx for your for your response, but i think i was not able to convey what i actually required.
    Output file required is a fixed field width text file with .txt extension but having end of line and end of file markers.
    I'm able to convert Access table to .txt format but minus eol and eof markers

    Hope you may be able to shed some light on to it.

    Thanx

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 05-17-2010, 12:21 PM
  2. export table to multiple sheets
    By TheShabz in forum Import/Export Data
    Replies: 5
    Last Post: 04-06-2010, 02:59 PM
  3. Replies: 2
    Last Post: 03-18-2010, 08:24 PM
  4. Replies: 3
    Last Post: 12-15-2009, 01:47 PM
  5. Export Access Pivot Table to Excel
    By graviz in forum Programming
    Replies: 1
    Last Post: 11-13-2009, 07:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums