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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:

Important Information

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