Jump 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.

Save as pdf variable name

Featured Replies

I'm trying to set up a script to save a record as pdf with a specified name. The database is hosted on a server, and I cannot seem to get the file path correct for the client. here is my script:

Set Variable ["filemac:Desktop/"&"PO" & Purchase Orders::Number &".pdf"]

Save Records as PDF ["$filename"]

My goal is to have the pdf saved to the desktop folder of the user's home directory. When I run,as is, I get an error that the file cannot be created on this disk. I think it's trying to save to the server or my file path is wrong and doesn't exist?

Thanks.

Try:

Set Variable $docPath =

"filemac:" & Get (DesktopPath) & "PO" & Purchase Orders::Number & ".pdf"

Save Records as PDF [$docPath]

  • Author

That worked. Thanks!

Create an account or sign in to comment

Important Information

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

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.