Click here to Skip to main content
15,904,416 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

In our database we have John Smith and he could have 5 different codes.

John Smith - EP Former, EP Parent, Outreach Parent, Former Parent, Parent

I need to create buckets for each 5 codes. I wanted to create a hierachy -
(in this exact order)
1. Parent, 2. Former Parent, 3. Outreach Parent, 4. EP Parent, 5. EP Former Parent.

Where ever the code falls in the system I want to put in the correct bucket by hierachy. Also, if anyone is ever coded Former Parent and Parent they automatically get pulled into the Former Parent bucket.

Any help would be greatly appreciated.

Thank you
EmPaige
Posted
Comments
Kschuler 13-Jun-12 16:52pm    
So....what is your end game here? You're creating buckets? What do you mean by that? Is your report supposed to print a person and then list the buckets they are in? Or to print a bucket and list all people who fall into that bucket?
ShaikhM 14-Jun-12 18:25pm    
A tablular format of the required report for us to understand better will be of great help. Also what code base you are using? Please give more details.

Also using crystal reports your only option? I am asking this because such things are less complex using SSRS.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900