Automation error the object invoked has disconnected from its clients cmdPrint_Click. Occurs when printing a custom report (invoice or cheque).
Summary:
This error occurs when one of the fields on the underlying report you are trying to print has been deleted.
If you design custom reports it is advisable to save a copy of the .RPX report format (using File > Save in the report designer).
Detail:
The solution is to restore the default format (in the Report Designer click ‘restore default’).
After restoring the default you need to make a further change to the design (like re-positioning one of the fields) otherwise the system won’t save the changes to the layout.
If you want to remove a field from a report you need to set the visible property to ‘False’ and not delete it.
How to reset the default layout of a report
Locate the report in the report wizard and click Design <Report name>
Click No on the following dialogue:
Click restore default layout in the report designer:
Click OK on the following dialogue
The designer will then unload and the report layout will be restored to its default
Comments
0 comments
Please sign in to leave a comment.