R
Richard G
The following is part of a report page in Access 2000
I have a text box called “txtgroupcount†with a control source of Count(*)
in Groupheader0
I also have the following in the “On Format†event for the following three
sections
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.Detail.Visible = (Me.txtgroupcount > 9)
End Sub
Private Sub GroupHeader0_Format(Cancel As Integer, FormatCount As Integer)
Me.GroupHeader0.Visible = (Me.txtgroupcount > 9)
End Sub
Private Sub GroupHeader1_Format(Cancel As Integer, FormatCount As Integer)
Me.GroupHeader1.Visible = (Me.txtgroupcount > 9)
End Sub
This then shows only those groups where there are 10 or more records within
Group0
In the detail section is a text box called “datedâ€
I’d like to be able to further restrict the groups shown to those where the
latest date in “dated†is no more than a month prior to today.
Is this possible please?
I have a text box called “txtgroupcount†with a control source of Count(*)
in Groupheader0
I also have the following in the “On Format†event for the following three
sections
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.Detail.Visible = (Me.txtgroupcount > 9)
End Sub
Private Sub GroupHeader0_Format(Cancel As Integer, FormatCount As Integer)
Me.GroupHeader0.Visible = (Me.txtgroupcount > 9)
End Sub
Private Sub GroupHeader1_Format(Cancel As Integer, FormatCount As Integer)
Me.GroupHeader1.Visible = (Me.txtgroupcount > 9)
End Sub
This then shows only those groups where there are 10 or more records within
Group0
In the detail section is a text box called “datedâ€
I’d like to be able to further restrict the groups shown to those where the
latest date in “dated†is no more than a month prior to today.
Is this possible please?