Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: array....? not sure Post Reply Post New Topic
Author Message
guptaa
Newbie
Newbie


Joined: 21 Feb 2013
Location: United States
Online Status: Offline
Posts: 14
Quote guptaa Replybullet Topic: array....? not sure
    Posted: 15 Mar 2013 at 3:42pm

I am not sure how to achieve the following design of one of the sub reports.

In my record set there are 3 children and one adult. I need to display Adult’s name, Relationship to child1, child2, child3 in one line like this that can continue to next line. It requires children to be mentioned as 1, 2, 3 instead their Id:

Person Name: <person_name>           Relationship to (1):  <relationship>   (2):  <relationship>  (3):  <relationship>                                     

There can be many person and many children related to them. For Example:

Person_ID        Person_Name        Child_id                Relationship

1                      AAA                         9                          Adoptive_Father

1                      AAA                         99                        Biological_Father

1                      AAA                         999                      Uncle

2                      BBB                         8                          Adoptive_Mother

2                      BBB                         88                        Adoptive_Father

 

Appreciate any help and your suggestions.

thanks

Aradhana
IP IP Logged
Sastry
Moderator
Moderator
Avatar

Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Quote Sastry Replybullet Posted: 17 Mar 2013 at 7:57pm
Hi
 
Group on Person_id, write the below formula to get serial number in place of child_id
 
//place the below formula in your group header
 
Whileprintingrecords;
Numbervar x:=0;
 
//Place the below formula in detail inplace of Child_id
 
Whileprintingrecords;
numbervarX:=x+1;
 
still if you have any problem.. send the report to my mail id, i am sending my mail id through Private Messanger
Thanks,
Sastry
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.