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.

Saving pdf filepath problem

Featured Replies

Hi All

Have read the help files on creating filepaths, but no progress here.

Setup: FM server running on Windows SBS network, with 9 Windows machines and a couple of Macs.

Want to do: Save record as .pdf to the server from any workstation

Working: Windows machines save the .pdf with the correctly calculated name (by a variable) in the correct place on the server according to the windows filepath.

Not Working: Macs give the error "(filename).pdf could not be created on this disk. Use a different name, make more room on the disk, unlock it or use a different disk"

I tried saving to the local Mac machine instead by adding a local filepath for the mac, but still got the same error. Tried changing the order of the filepaths too.

Here are the filepaths specified;

filewin://Server1/c/FMNotes/$GymnastName

filemac:/MacintoshHD/FMNotes/$GymnastName

Can anyone help me please?

(When I previewed this file, the filepath appears to have a space between the "o" and the "t" in notes. This space is not there when editing this post?)

Error_pdf.jpg

Normally there is a space in "Macintosh HD". Could that be it? And of course, the folder "FMNotes" would have to be at the top level of the hard drive. And no could have changed the name of their hard drive (which they can and often do).

You can't specify a variable in a path name that way, it has to be a text string or a variable, one or the other. I'd probably use something like this:

Set Variable( $path ; 

      Case( Abs(Get(SystemPlatform)) = 1 ; 

             "mac/server/path/" ; 

             "windows/server/path/" ) 

            & NameField & ".pdf" )

Then save or export to $path.

  • Author

Thanks Fenton - it was the space. Sorry for the silly question!

Phil

  • Author

Thanks, I will try this to get it to save on the server.

:-)

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.