[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.6

Help - Main report does not pass data to subreport

Asked by YGregersen in Crystal Reports Software, Business Objects, Databases Miscellaneous

Tags: report, subreport, crystal, pass, data

Hello and thanks to all who reply.

 ----------

 


Overall report pulls medical history about patients. The data pull centers around the patients medical insurance card ID number and sub-members of the said ID number.

Here is my design; the main report is a SQL Command designed to ask the user for the main medical ID number. The first prompt is one to ask the user for the ID number (static string parameter). It then goes out and gets a list of sub-members based on that ID Number. A new set of prompts appear that are linked to the sub-report SQL command the first ask the user add any or all of the sub-members (dynamic parameter) to the list. Below that prompt, a nother set ask the user to type in a beginning and ending date range for the data pull (because how the date range is formatted I have to do a string static prompt).

 

Now the Sub-Member dynamic list is used as a crystal reports filter and not passed into the sub reports SQL Command. The Beginng and Ending date, and the Main ID Number are passed to the sub-reports SQL Command.

 

Here is where the report breaks down. The original member ID that was inputted from the main report gets flushed before it can be passed to the sub-report. I am base this on what I observe from when I run the report. After I input the ID Number and the 2nd set of prompts appear asking for the sub-members and date range the ID Number parameter is still at the top but blank. Later, after the report is ran I look at the 'Show current parameters value..' from the Report menu and it shows as empty. If I rerun the report and do not leave the 2nd Main ID Number prompt but type in the number again the report works fine. If I change the Sub-report ID Number link to a dynamic prompt, on the 2nd set of prompts the top one is dynamic and the ID Number I inputted is the first and only thing in the list. If it is chosen then the report works as I would like.

However, this report is for the general  co-worker population and I would like to not have them have to type in the main ID Number in twice or even have them chose it again from a dynamic list.

 

I have tried shared variables and built the report another way and the same thing happens. When the dynamic list of sub-members is shown the data from the main report is flushed except for the list of sub-members.
 

 
Is there a way to fix it so the ID Number gets passed correctly or have the dynamic prompt default to the first item in its list. Or is there some other way to fix this?

 

Thank you for your help.
[+][-]11/14/07 08:54 AM, ID: 20281492Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Crystal Reports Software, Business Objects, Databases Miscellaneous
Tags: report, subreport, crystal, pass, data
Sign Up Now!
Solution Provided By: mlmcc
Participating Experts: 2
Solution Grade: A
 
[+][-]12/14/07 09:32 PM, ID: 20476264Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 / EE_QW_2_20070628