J
jackson via AccessMonster.com
Hi,
Currrenlty I hide records off a report so their data is included in the
subtotals (rahter than filtering out from query). The code I use for the
report is:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.Section(acDetail).Visible = ([Posn Type] <> "Cash" And [Position] <> 0)
End Sub
This hides records that are Position Type "Cash" or has a zero holding. I
have a new field in the underlying query called Tag that can be Yes or No. I
want to also hide any "Yes" records so I thought I'd just add in [Tag] <>
"Yes" in to that expression above. However this does not work and these
records still stay visible. Any thoughts?
Thanks.
Currrenlty I hide records off a report so their data is included in the
subtotals (rahter than filtering out from query). The code I use for the
report is:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.Section(acDetail).Visible = ([Posn Type] <> "Cash" And [Position] <> 0)
End Sub
This hides records that are Position Type "Cash" or has a zero holding. I
have a new field in the underlying query called Tag that can be Yes or No. I
want to also hide any "Yes" records so I thought I'd just add in [Tag] <>
"Yes" in to that expression above. However this does not work and these
records still stay visible. Any thoughts?
Thanks.