Results 1 to 3 of 3

Thread: Import Specification -- Cannot Find??? I'm sure it's there!
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    Board Regular
    Join Date
    Oct 2008
    Location
    New York, NY
    Posts
    89
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Import Specification -- Cannot Find??? I'm sure it's there!

    I'm trying to execute this line of code:

    DoCmd.TransferText acLinkDelim, "TheUploadSpec2", "ltUpload", upPath & upFileNm, True

    I keep getting Error '3625' -- Specification Does Not Exist.

    But I swear it absolutely does! When I go to External Data>New Data Source>From File>Text File...I click 'Advanced' and then 'Specs' and I see three specifications listed there. No matter which one I use, I still get Error 3625.

    In code in the immediate window when I enter the following:
    ?Access.CurrentProject.ImportExportSpecifications(0).XML

    It again tells me the specification does not exist. I've used Import Specs in vba in other databases without any issue.

    Is there some setting or property that I'm missing?

  2. #2
    MrExcel MVP
    Moderator
    xenou's Avatar
    Join Date
    Mar 2007
    Location
    Clev. OH, USA
    Posts
    16,347
    Post Thanks / Like
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Default Re: Import Specification -- Cannot Find??? I'm sure it's there!

    What is a link delimited file (acLinkDelim)? Is that supposed to be an export or an import? What kind of file is it you are importing or exporting?

    Using: Office 2010/Win7 (work) Office 2010/Win7 (home)

    You are rich in proportion to the number of things you can let alone.
    -- Henry David Thoreau

  3. #3
    Board Regular
    Join Date
    Jul 2010
    Posts
    398
    Post Thanks / Like
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Import Specification -- Cannot Find??? I'm sure it's there!

    Are you sure you have the correct spec name? Check by running this query:

    Code:
    SELECT SpecName, Count(FieldName) AS Fields FROM MSysIMEXColumns INNER JOIN MSysIMEXSpecs ON MSysIMEXSpecs.SpecID = MSysIMEXColumns.SpecID GROUP BY SpecName
    If you edit that query in design mode you can add in additional fields from the system tables to check the type etc all look ok.
    Last edited by stumac; May 9th, 2019 at 12:01 PM.

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •