Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crystal reports 11: how do you debug a crystal report?

When I'm creating a crystal report and when I add fields and fields to a database, the report outputs a completely blank report for the invoice I am creating. How do you debug a crystal report?

Do you setup markers or flags to output? Is there an error log somewhere which describes which field the report is having an issue with etcs?

like image 842
phill Avatar asked Nov 14 '22 16:11

phill


1 Answers

Your 'no records' empty report can be caused by some inexpected 'default' links between tables that CR would add each time you modify the list of tables and views needed for the report. There is this 'intelligent linking' option that can even automatically create some recursive links. Be carefull while looking at these in the relations screen, as they might not be viewable 'at once'. Another situation leading to 'empty' reports is when tables are linked with an inner join instead of an outer join, or when outer joins should be switched between left and right.

If you cannot find which relation(s) is causing your report to be empty (sometimes it is not so obvious), I advise you to make some trial & errors test by adding/removing tables or modifying your links.

like image 199
Philippe Grondier Avatar answered Dec 22 '22 10:12

Philippe Grondier