Solved

Subreport doesn't refresh with the changed user-passed parameter!

Posted on 2004-04-13
5
225 Views
Last Modified: 2012-06-27
I put a subreport(weekly summary) in report footer and link the parameter in subreport to same parameter (eg. area, network)in primary report (daily summary); but when primary report's parameter changes the subreport data doesn't change. I think it's because the subreport is in the report footer section not the detail section or group footer/header section. If I put it in the detail or group section it works ok but I can't put it there because I already have different groups in primary report and if I do so the subreport would show under each line of group of the primary report which is not what the user wants. They want to see all the groups together for daily summary and for weekly summary. I think maybe some kind of programming is needed in Crystal to get this work? We use Crystal 8.5. Thanks a million!    
0
Comment
Question by:qinyan
[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
  • 2
5 Comments
 
LVL 42

Expert Comment

by:frodoman
ID: 10815495
First step - open up your subreport and make sure the "Save Data with report" option is not checked.

0
 

Author Comment

by:qinyan
ID: 10815653
Thanks for the reply! This option is not checked. what's the next step? Tks again!
0
 
LVL 42

Accepted Solution

by:
frodoman earned 500 total points
ID: 10815758
Edit the subreport itself.  Refresh and you should be prompted for a parameter, right?  If not then the problem is with the subreport itself.

If you are prompted then go back to the design tab for the main report and right click on the subreport and choose "re-import" then refresh and see if it updates.  Also check the parameters in both the main and subreport to be sure they are the same data type (both strings or both numbers, etc.).
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

738 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