How to repeat parent data on each page for every child?
IO structure is as follows:-
listofsscontact
sscontact
listofssvehicle
ssvehicle
current output with for each loop and page break:-
for 3 vehicles and single customer
Page1
Cust Info
------------------
Vehicle Details1
------------------
Page2
-------------------
Vehicle Details2
-------------------
Page3
-------------------
Vehicle Details3
-------------------
required output format is:-
Page1
Cust Info
--------------------
Vehicle Details1
--------------------
Page2
Cust Info
--------------------
Vehicle Details2
--------------------
Page3
Cust Info
----------------------
Vehicle Details3
----------------------
How would you put for each loop and page break for parent and child so that parent details are repeated on new page with single child details?
Thanks.