I was looking for some documentation on available scripting functions specific to the Report Viewer object. Specifically, I’d like to call the object to print the currently displayed report to the default printer the client system has.
I have already built the report, Loads when a lot number is entered into a text field. Wrote a quick script to pull the lot number from my furnace and place it into the text field once the load has finished quenching. Just looking for that last piece…
Sure, you can use a delay to wait for the report to load. If you’re waiting for data to come in from a SQL query, you can put an event handler on the report’s propertyChanged event watching for your data variable(s) to change.
A touch more detail, I have a button configured to write the value into a client tag. The text property of the object the script above is running on is bound to the client tag.