>Allan,
>
>Reports are driven by tables whether you refer to them or not. Each record in teh data source causes a detail line to print. No data table open = no records = no report. I have no idea why you are getting it to print at all unless there happens to be a table open.
Jim,
My app has error handling built in for 'forseeable' errors. For all others, I am creating a form that will print when these program errors occur (as I mentioned earlier, I hope the form never gets printed) to be forwarded to support. In the process of testing this, I happened to invoke an error (on purpose) when there were no tables or cursors open or selected. That is when I got the Open dialog box. I solved the problem by creating a cursor, selecting it, printing the report, and closing the cursor.
Al Williams
Anola MB, CANADA