Jump to content

Print just one field


H
 Share

This topic is 2354 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

This topic is 2354 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

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