Newbies Mike Blackburn Posted March 13, 2016 Newbies Posted March 13, 2016 I have found ways to do this from Filemaker in OSX but I can't seem to apply this to FMGo. I want to mail the current record as a PDF and to have the PDF name be derived from the value of a field (in this cas, the name of the client) Below is the script as it stands. Is this a possibility in FMGo? 1. Go to Layout [ layout name ] 2. Set Variable [$name ; Value: Patients::LastName ] 3. Save Records as PDF [ Restore ; No dialog ; "$name.pdf" ; Crerate email ; Current record ] 4. Go to Layout [ original layout ] THoughts?
bcooney Posted March 13, 2016 Posted March 13, 2016 You need a path, and I don't see why you're changing layouts. In fact, that might change your record. User is on Contact form. Clicks "Mail PDF of Record" 1. set var $filename; patients::lastname & ".pdf" ( I might also add id) 2. set var $path ; get (temporarypath) 3. set var $fullpath; $path & $filename 4. Save as PDF; create email, current record only $fullpath 1
Recommended Posts
This topic is 3532 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