The AERROR() function should provide you with addtional info. If it doesn't, check for
Reportman.ReportManX: No data available to print. in the error string.
>A Very Happy New Year to all.
>
>I have an Report Manager ActiveX control on my form. When there is no data it returns the following error:
>
>
OLE IDispatch exception code 0 from Reportman.ReportManX:
>No data available to print.
>
>Cancel, Ignore, Help
>
>How can I handle this message in my error handler for the form, as there is no Error Number.
>
--sb--