Results 1 to 4 of 4
  1. #1
    orcinus is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Apr 2010
    Posts
    67

    Text Import Specs

    Using Access 2003

    I would like to change the name of an import specification I created. I don't want to change any of the details, just simply, the name.



    Any help on how to do this is appreciated..

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    mmm....well if nothing else...start a manual import, during that select the 'Advance' in the lower right....and then select your Spec which will be listed there....and then you have the object to 'Save As'

    this doesn't really change the name, but it makes a duplicate with whatever name you want....which hopefully is sufficient....

  3. #3
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    strTableName = "Sans_" & Me.Text5
    strFilePath = Me.Combo13 & Me.Text11 & Me.Text15 & ".txt"
    DoCmd.TransferText acImportDelim, , strTableName, strFilePath


    In this Example I have use a Collection of form objects to specify the name of the file to be imported.

    You can use a Text Box to refer to the file you need to import.

    Note: here the file name generate with complete path reference like 'C:\MainFrame.txt'

  4. #4
    orcinus is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Apr 2010
    Posts
    67
    Quote Originally Posted by NTC View Post
    mmm....well if nothing else...start a manual import, during that select the 'Advance' in the lower right....and then select your Spec which will be listed there....and then you have the object to 'Save As'

    this doesn't really change the name, but it makes a duplicate with whatever name you want....which hopefully is sufficient....
    Trying to avoid that, but thanks!

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

Similar Threads

  1. Text import
    By gsashwin in forum Access
    Replies: 3
    Last Post: 06-22-2010, 05:01 PM
  2. Cannot import excel or text files
    By donald_s in forum Access
    Replies: 2
    Last Post: 04-13-2010, 11:48 PM
  3. Import to text - only text value NOT importing
    By Gerry in forum Import/Export Data
    Replies: 10
    Last Post: 03-26-2010, 06:55 AM
  4. import text specification
    By brunoylupe in forum Import/Export Data
    Replies: 12
    Last Post: 08-09-2009, 04:47 PM
  5. Using code to set export specs
    By SSylvesterSYC in forum Programming
    Replies: 0
    Last Post: 06-08-2009, 10:29 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