October 26, 200619 yr I've created a database that I'm sharing with two other users via FileMaker Network. I've created a script that prints an invoice, then creates a PDF copy of the invoice for our records. Because everyone works somewhat independently, I want everyone's PDFs to be saved on their own machines, but I'm having trouble getting the path right in my script. If I'm understanding the help file correctly, I should be able to do this: file:Desktop/Invoices/$InvoiceNumber This works fine on my machine (where the database resides), but the other guys keep getting a "(Invoice Number) could not be created on this disk" message. I've tried using different configurations based on the examples in the help file, but haven't hit the right combination yet. Can anyone help me straighten this out? Thanks in advance for any help! :confused:
October 26, 200619 yr The other user won't necessarily have the file path "file:Desktop/Invoices/" so use one of the functions Get(DesktopPath) or Get(DocumentsPath) or Get(FileMakerPath) to construct your path, e.g.}:| Get(DesktopPath) & $InvoiceNumber
October 27, 200619 yr Author Hey, cool--I wasn't familiar with the Get(DesktopPath) function. It worked beautifully! Thanks so much!
Create an account or sign in to comment