Sage 100

 View Only
  • 1.  Button Script not opening Folder

    Posted 12-29-2022 10:59
    I have added a button script and it should open the folder that is named the same as the Sales Order number.  For some reason it does not seem to find the path.



    ------------------------------
    Venessa Griffin
    Forvis LLP
    ------------------------------


  • 2.  RE: Button Script not opening Folder

    Posted 12-29-2022 11:23
    Try replacing .FileExists with .FolderExists.
    You also may need to add the trailing "\" to the PDFPath.

    If that path has not been created by some other process you would need to create it.
    filesys.CreateFolder (PDFPath)

    ------------------------------
    Phil McIntosh
    President
    Friendly Systems, Inc.
    ------------------------------