Solved

Group Specified on a non-recurring field

Posted on 2014-04-30
5
367 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
  • 3
  • 2
5 Comments
 
LVL 100

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 100

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

696 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