PDF naming Win FM8.5
I would like to create PDFs of reports, I have tried the "Save Records
As PDF" script but I would like more automation.
Is there a way script the naming of the PDF using field names?
Thanks
Nick
Re: PDF naming Win FM8.5
"Eide" <nick [at] SPAMITNOWepbws.com> schreef in bericht
news:KQ2zi.4552$Wr3.3060 [at] trndny03...
>I would like to create PDFs of reports, I have tried the "Save Records As
>PDF" script but I would like more automation.
>
> Is there a way script the naming of the PDF using field names?
>
> Thanks
> Nick\
Say you have two fields one for your path MyPath (may be a constant like a
global) and MyField. Now supposing these hold valid data, you create a
script
Set variable $MyPdf [Mypath & MyField]
Save records as PDF [ "$MyPdf"; other options follow]
That will do it.
Keep well, Ursus