Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Saving as a PDF

Featured Replies

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

What folder are you trying to write the PDF in? Do you have write privileges there?

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.

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.

  • Author

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.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.