Results 1 to 4 of 4
  1. #1
    dccjr3927 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2019
    Posts
    130

    Invalid Path in TransferText

    Hello All! I need a second set of eyes on this issue. I am getting Run-time error '3044' (invalid path) error. Here is my TransferText statement



    Code:
    DoCmd.TransferText acExportDelim, , "strExportSQL", strFullPath
    Debug.Print strFullPath
    I build the strFullPath here:

    Code:
    strFullPath = strRptPath & "\SerialExport_" & Format(dteNewDate, "MMDDYYYY") & ".csv"
    The debug returns this (xxxx is a company name that I redacted, but it is correct):

    Code:
    D:\xxxxxxx\LE Database\LETrackingSys_v2be\Testing\SerialExport_10032022.csv
    The file path copied from file explorer is:

    Code:
    D:\xxxxxxx\LE Database\LETrackSys_v2be\Testing
    For the life of me I cannot see what would be causing this. Any assistance would be greatly appreciated.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Tracking vs Track.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    dccjr3927 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2019
    Posts
    130
    Thank pbaldy!!! I knew it would come down to mu own stupidity. Been work on various parts of this db for 6 hours. Maybe time to take a break. Thanks again.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problem! Sometimes your eyes glaze over and you just need another pair to spot the problem.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 8
    Last Post: 10-12-2020, 01:19 PM
  2. Replies: 2
    Last Post: 08-22-2018, 12:15 PM
  3. Replies: 6
    Last Post: 05-27-2014, 05:41 AM
  4. Replies: 3
    Last Post: 11-24-2012, 08:56 AM
  5. Run-Time Error 3044 - Invalid Path?
    By KrenzyRyan in forum Import/Export Data
    Replies: 8
    Last Post: 01-19-2011, 10:03 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