Forum Discussion

ShivanandBaswann's avatar
ShivanandBaswann
Copper Contributor
Jul 17, 2024

O365 Exporting files with multiple periods in file name using DoCmd.Transfertext stopped working

We upgraded from access 2013 to office 365 few years ago. And have been using Transfertext to export files in txt, xls, xlsx formats until last week. Many of the exported files have multiple periods in the file names.

All of a sudden we are getting error message to remove multiple periods and exports are aborting.

Few users of the application are on Access 2013 and we don't see any issue with 2013.

 

Is there a solution or fix for above issue?

 

Thanks in Advance

Shiva

 

 

5 Replies

  • Gerrit_Viehmann's avatar
    Gerrit_Viehmann
    Copper Contributor
    I can confirm the error message (VBA Error 13201) for Access 365 for both directions (TransferType) of DoCmd.TransferText. It sounds like the developers changed the Access spec and don't intend to solve the underlying problem.
    I would therefore export to a temporary file (e.g. "tmp" & CLng(Timer() * 100) & ".txt") and rename it later.
    • ShivanandBaswann's avatar
      ShivanandBaswann
      Copper Contributor

      Gerrit_Viehmann 

       

      Thanks Again. I did exactly same thing. Since the application is complex, and interfaces have already been developed and in place. I renamed file name wherever there was "." with "#" and exported the files. renamed them back to original file names with windows shell script. Had to account for "." in the folder path names.

       

      Regards,

      Shiva

      • George_Hepworth's avatar
        George_Hepworth
        Silver Contributor

        Please confirm the version of Access you have installed so we can investigate. Please also notify your IT support of the problem. Ask IT to roll back the update. If they support you, they should be prepared to help with this problem until a fix is available.

         

        ALso, please provide an example of a file name with multiple periods in it. 

         

        Every bit of detail you can provide is that much more detail that can be used to identify the problem. 

    • ShivanandBaswann's avatar
      ShivanandBaswann
      Copper Contributor

      Karl_Donaubauer 

       

      Thanks a ton for the response.

      Unfortunately, the updates for windows and development tools are pushed by another group in the organization. I have no control over it. I just have to find a workaround for the issue. It happens with Win-X and Win-XI computers. Win-& seems to be working fine!

Resources