Saving as a PDF and auto file name
I got a button to save as a PDF and I am trying to make it save a file name automatically.
I want it to do DT # , customer, date
Are DT #, Customer and date three fields in your table?
Or is date the current date?
Where will you then save that PDF file?
See this link for the basic steps for a scripted save as PDF: Found Sets to PDF with unique file names
Your calculation for the file name inside that Set variable step might be:
... & YourTable::DT # & " " & YourTable::Customer & " " & Substitute ( YourTable::Date ; "/" ; "-" ) & ".PDF" ]
or it might be:
... & YourTable::DT # & " " & YourTable::Customer & " " & Substitute ( Get ( CurrentDate ) ; "/" ; "-" ) & ".PDF" ]
Retrieving data ...