H Posted January 21, 2016 Posted January 21, 2016 Hi please can someone help me solve my issue. in my solution i want to allow my user just to print one field which is a container field which has a pdf attached. how would i script this, however i do it i get the entire record how ever i only need the content of this field. please can someone help me out.
Steve Martino Posted January 22, 2016 Posted January 22, 2016 I don't think you could do this directly. First you would have to export the PDF, then print it. Something like this, export to desktop. #If there is a copy of a letter, open as PDF for viewing/re-printing/sending. If [not IsEmpty(Customer_contact::Letter)] Set Variable[$path; Value:Get ( TemporaryPath) & "Letter_" & Customers::Name_last & ".pdf"] Export Field Contents [Customer_contact::Letter; "$path.pdf";Automatically open] Else Show Custom Dialog [Title:"No Letter"; Message: "There is no letter to view"] End If
Recommended Posts
This topic is 3492 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