I am previewing reports in the form using reportlistener. I am getting an error message one in a while: "Output page 1 is not available". After ignoring that message for a few times the preview shows ok. Any idea about the error?Yes, but there is nothing wrong with using the Paint(). I think I have previously directed you to articles which show you how to deal with this.
Perhaps your code is calling Listener.OutputPage() in the form's Paint() event...
Yes, it does. Is there other way?