Newbies Geojf Posted December 23, 2010 Newbies Posted December 23, 2010 Is it possible to change the name of the PDF file you created (on Ipad) prior to emailing it. Currently it names the pdf the name of the database. I need to be able to put the customer name in he pdf name prior to emailing. Any thoughts?
Kip Posted January 11, 2011 Posted January 11, 2011 I'd use two variables: 1 for the path to save to & 1 for creating the new filename. To retrieve the desktop path of your device use get(documentspath) In a script this could look like: set variable ($$customer; value:table::yourcustomernamefield) set variable ($$path; get(DocumentsPath & $$customer & ".pdf" ) Than to save the pdf: Save records as PDF(restore;no dialog;"$$path";current record) Than use your email script to send the mail with the name you gave to the pdf. Should work... :)
Recommended Posts
This topic is 5065 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