KirkJewell
Programmer
I am using an MSHFlexGrid control to display (as you would expect) A simple Parent-Child Relationship.
There are several staff payslips (parent) with multiple payslip items attached. So far I have it working fine, it displays the right data and fields and formats well, however I would like it to display a header for each parent (every occurance), but only the first child after the parent.
===== (Column Header for 1st parent)
----- (Parent record
======= (Column header for 1st child for this parent)
------- (childs records
------- "
------- " )
===== (Column Header for parent)
----- (Parent record
======= (Column header for 1st child for this parent)
------- (childs records
------- "
------- "
------- "
------- " )
etc... I hope I have explained this well enough.
Summary: At the moment the Control displays as above execpt I get a column header for every child. I do NOT want the child column headers to display in the same row as the parent (I cant see why any body would either).
Regards
Kirk.
There are several staff payslips (parent) with multiple payslip items attached. So far I have it working fine, it displays the right data and fields and formats well, however I would like it to display a header for each parent (every occurance), but only the first child after the parent.
===== (Column Header for 1st parent)
----- (Parent record
======= (Column header for 1st child for this parent)
------- (childs records
------- "
------- " )
===== (Column Header for parent)
----- (Parent record
======= (Column header for 1st child for this parent)
------- (childs records
------- "
------- "
------- "
------- " )
etc... I hope I have explained this well enough.
Summary: At the moment the Control displays as above execpt I get a column header for every child. I do NOT want the child column headers to display in the same row as the parent (I cant see why any body would either).
Regards
Kirk.