Patron Saint of Chimichangas Posted October 26, 2006 Posted October 26, 2006 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:
Fitch Posted October 26, 2006 Posted October 26, 2006 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
Patron Saint of Chimichangas Posted October 27, 2006 Author Posted October 27, 2006 Hey, cool--I wasn't familiar with the Get(DesktopPath) function. It worked beautifully! Thanks so much!
Recommended Posts
This topic is 6604 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now