Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSHFlexGrid Control Band Headers Removal

Status
Not open for further replies.

KirkJewell

Programmer
Oct 6, 2000
54
GB
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top