Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

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

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
qinyan
Asked:
qinyan
  • 2
1 Solution
 
frodomanCommented:
First step - open up your subreport and make sure the "Save Data with report" option is not checked.

0
 
qinyanAuthor Commented:
Thanks for the reply! This option is not checked. what's the next step? Tks again!
0
 
frodomanCommented:
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now