طيب تمام حطي الكود ده فى on format بتاع ال page header
Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer)
Dim intDetailHeight As Integer
Dim intRecordCount As Integer
Me.A.Report.Visible = True
intDetailHeight = Me.A.Report.Section(acDetail).Height
intRecordCount = 2
Me.A.Height = intDetailHeight * intRecordCount
Me.PageHeaderSection.Height = Me.A.Height
End Sub
إن شاءالله هيظهر معاكي تقرير ال sub فى وضع الطباعه