GC GYM Posted October 6, 2008 Posted October 6, 2008 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?)
Fenton Posted October 6, 2008 Posted October 6, 2008 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).
Fitch Posted October 6, 2008 Posted October 6, 2008 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.
GC GYM Posted October 6, 2008 Author Posted October 6, 2008 Thanks Fenton - it was the space. Sorry for the silly question! Phil
GC GYM Posted October 7, 2008 Author Posted October 7, 2008 Thanks, I will try this to get it to save on the server. :-)
Recommended Posts
This topic is 5893 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 accountSign in
Already have an account? Sign in here.
Sign In Now