# Update report viewer before print out

**URL:** <https://forum.inductiveautomation.com/t/update-report-viewer-before-print-out/37862>\
**Category:** Ignition\
**Tags:** ignition80, vision, scripting\
**Created:** [August 18, 2020, 3:11pm UTC](https://forum.inductiveautomation.com/t/update-report-viewer-before-print-out/37862 "2020-08-18T15:11:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pawel.kondol1](https://avatars.discourse-cdn.com/v4/letter/p/54ee81/32.png) [@pawel.kondol1](https://forum.inductiveautomation.com/u/pawel.kondol1)\
**Post date:** [August 18, 2020, 3:11pm UTC](https://forum.inductiveautomation.com/t/update-report-viewer-before-print-out/37862/1 "2020-08-18T15:11:17Z")

</div>

Hi,

I would like to run this script that will update 3 properties on Report Viewer and then print out the report.  
However, I am getting print out before the custom properties are updated.

Can’t paste script. So pasted as photo.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/7/2770990159a52bc0f00abc059a1d98f5bab6395a.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/d/9ddcf51c004f6a3a6b61d08f4e1000014a0c6de9.png)

But in general I am getting data from 2 entries and then tried to print report Viewer.

Regards  
Pawel
