Solved

Group Specified on a non-recurring field

Posted on 2014-04-30
5
373 Views
Last Modified: 2014-04-30
Hi there,
 
I would like to group a report based on a shared valued from a sub-report.

I have the following in the group (this is the first grouping)

if {@SHAREDAction Type} in
["Identification", "Identification/Engagement"]
then "Identification"

else if not (isnull ({@SHAREDAction Type}))
then {@SHAREDAction Type}

else "No Stage Assigned"

But I receive the error message, "group specified on a non-recurring field"

I'm not sure what to do with this one! Any help would be appreciated,

Thanks,
CS
0
Comment
Question by:rporter45
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 200 total points
ID: 40032869
Groups are added to the report before the subreports are run so the values aren't available for use in grouping.

Not sure why you get that as the message instead of an indication that the field is evaluated  later in the report.

To do what you want, you will need to get the data required to make the Action Type determination into the main report.

Does your report have other subreports?

mlmcc
0
 

Author Comment

by:rporter45
ID: 40032956
Hi there,

Your comment does make sense - yes, there is another sub report in the report.  It does not have any shared values with the main report.

So rather than have the sub-report with these values that need to be shared, I need to have that detail in the main report instead and build the remaining pieces of that from there?

Thanks for your quick response,

CS
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 40032973
That would be the way to go.

I assume you know a subreport can't have a subreport so it is not as simple as making the one subreport into the maion and the maion into the sub.

mlmcc
0
 

Author Comment

by:rporter45
ID: 40032984
yes - thank you! Off i go to re-make this one!
0
 

Author Closing Comment

by:rporter45
ID: 40032987
thank you very much for the quick response. Perfect answer, logical explanation based on the report.
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question