AnsweredAssumed Answered

Printing unstored calculations / global variable

Question asked by lightawave on Jul 13, 2017
Latest reply on Jul 13, 2017 by philmodjunk

I  want to print (to PDF) a letter to multiple people.

 

The names of these people are calculated by "Title", "Initials", "middle name" and "last name"  into $$fullName, using the IF function.

On my layout page there is a textfield with a merge variable <<$$fullNam>>.

The $$fullNam is calculated onRecordLoad by a script by using Set Variable...

 

When scrolling through the records, everything looks okay. But when I print I only get the fullName of the first record on all printed pages.

 

What am I doing wrong?

 

( I don't want to store the fullnames in the database. )

Outcomes