How can i display multiple records of same table in crystal report?
Hi,
I want to create a 1 crystal report which shows the Member detail form member section i have to display member records and in spouse section i want to display spouse details and also same for member dependents.i have all details in one table but there are different record for member,spouse and dependents. (e.g for member code OM0582 in database OM0582 01 for spouse OM0582 02 , if member have 3 dependants then OM0582 03,OM0582 04,OM0582 04). i am attaching screen shot of table records of 1 member. i want to display this records in one member form, how can i do this? error.jpg
Crystal Reports
Last Comment
Vijay Kamble
8/22/2022 - Mon
Mike McCracken
I think you attached the wrong screen shot
Can you select all related records based on the member code OM0582 or do the dependents have their own record code?
Can you select using like?
{MemberCode} Like "OM0582*"
mlmcc
Vijay Kamble
ASKER
yes you are right I attached wrong screen shot. dependants have there own member code like spouse OM0582 02 same like dependants..
I show above record for example purpose i will select all records from table.i have separate record for member spouse and dependants. first six digit is common for member spouse and dependants and from right 2 digits are different for member, spouse and dependants. e.g. if Mr x have member code om0582 01 his spouse have om0582 02 and if he have 3 child's then dependants codes are om0582 03,om0582 04 and om0582 05.This all records are in same table. so how can display in creating in single member form reports?
Mike McCracken
Are u able to select all the records?
Then just put the fields on the report in the details section
mlmcc
Raghavendra Hullur
Hi,
Can you show us with a screenshot like how you want to display the details related to a single member code? I mean if you want to display the main member, then followed by spouse abd children in a specific order, then we can create a formula by selecting first 6 letters of member code and group by that to display all related info one below other.
In case, your requirement is different, then, if you provide a screenshot of how you need to display, we can think on that.
Provide a rough screenshot or in an excel sheet how you want the details to be displayed.
i am attaching my full format of member form report. i want to pass from member and to member no parameter in report for selected members. i have member photo in server area and name of file stored in table (field name is strcustomercode) . i am also attaching xlsx file some data for single member for your reference. Member-Detail-Form-GURU.xls Data-Structure.xlsx
Can you select all related records based on the member code OM0582 or do the dependents have their own record code?
Can you select using like?
{MemberCode} Like "OM0582*"
mlmcc