Solved

Crystal Reports XIR2 - Dynamic Data Connections and Sub Reports

Posted on 2009-07-08
3
856 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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 …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

21 Experts available now in Live!

Get 1:1 Help Now