Solved

Group Specified on a non-recurring field

Posted on 2014-04-30
5
362 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

815 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now