Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6835 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

I read a topic called "How can I set up a script to save as pdf with a field date as the pdf filename?" (I am sorry I don't know how to link to it). Reed attached an example file, but when I downloaded his purchase order file and ran the script I got the message

""Intertec 3-4-2006.pdf" could not be created on this disk. Use a different name, make more room on the disk, ulock it or use a different disk."

I tried to adjust the name for my own file, but no luck. I am not sure what they mean by unlock or how to unlock my disk. I have plenty of room on it. When I checked the variable in question, the path seemed valid. what could I be doing wrong?

Thanks

1141405969-Purchase_Orders.fp7.zip

Posted

Try getting the actual error code immediately after the Save as PDF step. You will need a Set Error Capture (ON) statement at the start of the script.

Posted

Check the filepath is correct. Whenever i've had this problem it's always been because the filepath has been formatted not to FM standards.

Posted

Thanks for all your help guys. the get(desktoppath) command didn't work. I had to put filewin in front of it and it worked fine.

This topic is 6835 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.