on 08-29-2014 3:48 PM
Hello,
I'm looking to modify an existing report developed by someone previously employed. I believe they are joining unneeded tables and I'd like to remove them. Is there a method that is useful to determine if a table/view is not being used in the report?
Just looking for any suggestions/advice on how to handle this.
Thanks,
Hi Trey,
If you expand the Table/View if you find any Green Color Tick mark on the database field, then that field in table/view is using in the report.
If you remove any table/view from the report if that table is using in the report, then Crystal will prompt a warning message.
HTH
--Praveen G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Trey,
The best way to determine if a table is being used or not is to look at the SQL Query the report generates. If a table is added to a report but no fields are being used, it will not appear in the query.
If the table is a linking table and no fields are being used, then it will still appear in the query because Crystal knows it's needed for the link.
Hope this helps,
Brian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Trey,
Try this.
In your report just goto field explorer ->database fields.
It will the command objects/tables that are added in your report.
If you want see which command object/table used in your report just expand those and check any of the fields belongs to the command objects contains a tick mark .
If there is a tick mark the fields that means the fields are using in that report.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.