What way should I print and save using a different file name from code.
To avoid using attachments as it appears these can not be deleted automatically. Tony Ryder
You could create an Image field and a button with the code:
Image:=importFile(this, printAndSaveRecord(this, "My Print Layout"), "mypdf.pdf")
With this function you can export one of your print layouts as PDF and save it as an attachment of the data record
- 2 yrs agoLast active