Page 1 of 1

Custom PDF name

Posted: Wed Jul 20, 2022 11:54 pm
by nc07
posting.php?mode=quote&p=25839

Initially i posted the above modified code in nurunpdf.php.

suggestion if options can be made available to set this from report builder form. eg option to select file name based on fields in the report + date etc.

what do you guys think.

Re: Custom PDF name

Posted: Thu Jul 21, 2022 12:35 am
by kev1n
What if there is more than 1 record? Which fields, date etc. would be used?

Here is a possibility to (re)name a report as you like.
viewtopic.php?t=11066

Re: Custom PDF name

Posted: Thu Jul 21, 2022 11:30 pm
by nc07
kev1n wrote: Thu Jul 21, 2022 12:35 am What if there is more than 1 record? Which fields, date etc. would be used?

Here is a possibility to (re)name a report as you like.
viewtopic.php?t=11066
rename pdf.png
Illustration in the picture shows the idea to be more precise. if the fields as illustrated are set by developer, the pdf name will be based as selected else NB's default pdf name.
I hope this make a bit of sense now :)