Having an issue where I am printing multiple reports at a time.
I’m using the reportLoading flag to check whether the report is ready to print:
[code]if event.propertyName == “reportLoading”:
reportLoading = event.source.reportLoading
window = event.source.parent.parent if reportLoading == True: window.reportNotReady = True if window.reportNotReady == True and reportLoading == False: window.reportReady = True[/code]
This is working fine generally, except for the very first load from a new client or after updating the client.
I am getting the flag reportReady as True but the report is printing blank (the report is formed fine with the defaults but the variable sections are blank)
The following reports print fine and the flag works as expected.
I have a work around which is to open and close the first report before trying to print it but its a little bit horrible.