The dependency checker feature present under “Report” menu (Check Dependencies) allows the user to see if there is anything that would prevent the report from running. This feature is available from Crystal Report 2008 onwards.
The Dependency Checker registers several types of errors, for example:
- Table is deleted and the fields pertaining to that table is used in the report.
- Any formula in the report uses custom functions and those function dlls are no longer available/ Formula compilation errors.
The error/warning/success sign displayed under Dependency Checker are as follows:
Below screen shot covers different scenarios, which covers success, error & warning message with the use of Dependency Checker:
1) Success: The below screen shot shows the success message.
2) Warning: The below Screen shot displays the warning message stating the excel sheet which is being used as the data source has been changed. Displays the message to verify the database once.
3) Error: The below Screen shot displays the error message that the excel sheet which is being used as the data source has been deleted.
To further fix the problem double-click on the error to open the target report, and navigate to the report object to fix the same.