J
jackson via AccessMonster.com
Hi,
I have a report with a Header and Footer by Country (these are grouped under
Asset Class)
If my records are "Cash" or Position = 0 in my query, (cash being the
Position Type), I have made them invisible in the detail section using Me.
Section(acDetail).Visible = ([Posn Type] <> "Cash" And [Position] <> 0)
in the OnFormat function.
However, the Country Header and Footer still displays - however I'd like
these to be invisible when the above conditions are true and there are no
visible positions.
I'm a little unsure about how to go about getting this working...any help
would be appreciated.
I might add for the country footer, I also use: Cancel = (Me.txtCount <= 1)
in the OnFormat function so it doesn't subtotal when there's only one line...
Thanks.
I have a report with a Header and Footer by Country (these are grouped under
Asset Class)
If my records are "Cash" or Position = 0 in my query, (cash being the
Position Type), I have made them invisible in the detail section using Me.
Section(acDetail).Visible = ([Posn Type] <> "Cash" And [Position] <> 0)
in the OnFormat function.
However, the Country Header and Footer still displays - however I'd like
these to be invisible when the above conditions are true and there are no
visible positions.
I'm a little unsure about how to go about getting this working...any help
would be appreciated.
I might add for the country footer, I also use: Cancel = (Me.txtCount <= 1)
in the OnFormat function so it doesn't subtotal when there's only one line...
Thanks.