only display dashed line when there are subrecords