Solved

Crystal Reports XIR2 - Dynamic Data Connections and Sub Reports

Posted on 2009-07-08
3
855 Views
Last Modified: 2013-11-15
Hello Experts,

I am currently running Crystal Reports, and using the Business Objects XI R2 Business View Manager to allow Dynamic Data Connections to our reports (prompting the user for Dev, Test, Prod).

This has all been working fine and dandy, but I have come across my first report which requires Sub Reports and I'm not sure how to get this correct.

Here are the steps I take:

1) Create a "Table" (I actually create a new Command and put the SQL statement and parameters in there) in my Business Foundation. I have one table for each report.
2) Create Business Element for new report.
3) Add Business Element to the Business View
4) Point report to Business View and new Element.

Now that I have a report with a sub report, I'm not sure what to do... I attempted doing the steps above for my sub report, but the report now prompts for the parameters from MAIN and the SUB, so I don't think this is a great way to do this.

Has anyone figured out a way to do this? We are very new at the whole Foundation/Element/View thing, so thanks in advance for your advice and patience. :-)

Lin
0
Comment
Question by:LinInDenver
  • 2
3 Comments
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 500 total points
ID: 24810321
You can link the subreport parameters to the main report parameters when you link the suubreport to the main report.

Also if you ink the subreport to the main report on the right fields you may not need the subreport parameters especially if they are the same as the main report.

mlmcc
0
 
LVL 14

Accepted Solution

by:
LinInDenver earned 0 total points
ID: 24815021
Thanks for responding, mlmcc!

I ended up linking the Dynamic Data Connection Parameter from my Business View to what looks like "itself" in my SubReport Links. This seemed to resolve the issue, and pass the data connection through to the sub report without prompting for it again.

My Dynamic Data Connection is called IDEAL_DYNAMIC_ODBC Parameter. I ended up linking this parameter to ?IDEAL_DYNAMIC_ODBC Parameter instead of the ?Pm-?IDEAL_DYNAMIC_ODBC Parameter that shows up as an option.

This caused the report to stop prompting for multiple parameters, and the sub reports are now returning information from the Dynamic Data Connection selected in the main.

I have attached a document showing my sub report links for anyone else who ends up with this problem down the road.
resolution---parameters.pdf
0
 
LVL 14

Author Comment

by:LinInDenver
ID: 24815052
thanks!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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