Проверка - Имеет ли форма секции (Заголовок | Примечание)
Private Function FormHasSections(frm As Form) As Boolean
'--------------------------------------------------------------------
Dim b As Boolean
On Error GoTo FormHasSections_Err
b = frm.Section(acHeader).Visible
FormHasSections = True
Exit Function
FormHasSections_Err:
FormHasSections = False
Err.Clear
End Function