How to add a different watermark for follow-up pages

In ForNAV, you can add a different watermark per page using JavaScript. The syntax for this is:


where pageno is interpreted as 0 = all, or 1… = page number.

The following steps describe how to add different watermarks to follow-up pages:

  1. Add the watermark files to the ForNAV File Storage table.

  2. Add the JavaScript records to get the data in the ForNAV report. Note that you must add the Data field to the Calculated Fields property.

  3. Add the JavaScript to set the watermarks. In the report’s OnPreReport trigger, add the following lines:

    CurrReport.AddWatermark(1, WMPage1.Data)

    CurrReport.AddWatermark(0, WMFollow.Data)