Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CR error the group section cannot be printed because its condition field is nonexistent or invalid

I have inherited a CR report and when running i get error: "the group section cannot be printed because its condition field is nonexistent or invalid. Format the section to choose another condition field."

Is there a way for me to know what field is it refering to? Any pointers on when should i start to look for the problem?

I have verified the DB and it is pointing correctly and the Sp returns data.

Thanks

like image 450
ldj Avatar asked May 19 '10 15:05

ldj


2 Answers

remove the Group Name Fields for the error "CR error the group section cannot be printed because its condition field is nonexistent or invalid." i have tried and it worked for my problem

like image 94
csharp Avatar answered Oct 23 '22 08:10

csharp


Annoying, isn't it? Without knowing how fluent you are in Crystal Report design, here's some places I would look to get started:

  1. Check the formula fields in the Field Explorer. You can right click on them and "Browse Data" to see if an error is produced.
  2. Can we assume this report has groupings? Check the field(s) the report is grouped on. Are any of them null?
  3. Check the group selection formulas.
  4. Check the record selection formulas.
  5. Have any of the uses of the report's datasource changed since it last ran correctly? Perhaps the format of a string field is different now. Ask around.
  6. Just because you can verify the DB doesn't mean the problem isn't in the datasource. Maybe one of your report's formulae is expecting a field to be non-null, and there is a single null entry. Or a date somehow got entered as #01/01/9999# and a formula in the report is expecting a realistic date.
like image 23
PowerUser Avatar answered Oct 23 '22 08:10

PowerUser