October 6, 200817 yr 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?)
October 6, 200817 yr 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).
October 6, 200817 yr 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.
Create an account or sign in to comment