Email a pdf generated from layout in attachment
In table Spec, I have fields
And a field for new value, Spec::Val
I tried with
Set Variable[$PDF;Value:Let (
val = Case ( Abs ( Get ( SystemPlatform )) = 1; "filemac:"; "filewin:" );
val & Get ( TemporaryPath ) & Spec::Model&Spec::Picture&Spec::Title&Spec::Description & ".pdf")
And I got the error "the specified field can not be found" for field val.
How can I send the pdf generated from this layout as attachment in email?