Jump to content
Sign in to follow this  

Access permission error on SaveRecordAsPDF (FMP11, OSX10.7.4)

Recommended Posts

I need to output a lot of 6-month reports and email them off to various people.

The script works under WIndowsXP, creating a PDF from one table/layout, then appending new pages to that same PDF from other tables in the same database.

When I move the script to OSX, however, the initial PDF created using SaveRecordAsPDF is created with permissions set to R/W for me, but to read-only for Staff and Everyone, (apparently) making it impossible for the following script steps to append new pages to the PDF. (FMP reports that it canot access the created PDF, and since the permissions are set to read-only for other users, and I think FMP reports itself as a user, I suspect that's what the problem is... correct me if I'm wrong!)

I'm testing this in a folder on my OSX10.7 machine, folder and all FMP files set to unlimited access. If I can get it working, I will want to run it from the v11.FMS running on a 10.7 machine.

I don't especially care where it generates the PDFs, as long as they're emailed they can be deleted immediately. (I get a cc of the email).

If necessary I can generate three PDFs and just mail all three of them to the same person, but it would be nicer if the recipient only needed to open/print one file.

Any suggestions on how to fix this permissions issue?


Addition added later:

Never mind... I'm an imbecile, and sorry for having bothered you.

File path specifications are different between Mac and WIndows.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

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