Posted 4 August 2017, 2:59 pm ESTWe have some customers (this error doesn't happen in every machine) who are experiencing an error when calling the Run method of the ActiveReport Object. We don't know why, but if we put a MessageBox just in the line below the Run calling, the program runs normally...
We have tryed to solve this problem, with no result, by:
- changing the property ShowMessages = False
- trying to catch the exception in the rpx file with
Sub OnError(Number, Description, Scode, Source, HelpFile, HelpContext, CancelDisplay)
CancelDisplay = true
- making a sleep in the line below (maybe this could sound a little mean, but we are so hopeless)
The ActiveReports Run method calling is doing just before showing the form that contains the ActiveReport.
Somebody can help us?