Solved

Crystal Reports XIR2 - Dynamic Data Connections and Sub Reports

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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…
Hi, In my previous Article  (http://www.experts-exchange.com/Database/Reporting/A_15199-Introduction-to-Microstrategy.html)I discussed some basic understanding of Microstrategy that how we can get in Intro of Microstrategy (MSTR). Now it's tim…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 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