Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Group Specified on a non-recurring field

Posted on 2014-04-30
5
Medium Priority
?
383 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 800 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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. …
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

604 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