C
Cameo
I'm trying to set some headers and footers of a report to visible or
invisible depending on a value of a control in the report.
I think I have a syntax error, but I don't know what it is...
The code I have is:
Private Sub Report_Open (Cancel as Integer)
If Me.NotesTypeID = 33 then Me!SponsorEventHeader.Visible = False
End Sub
The above returns an error. I've tried adding parens (Me.NotesTypeID = 33)
but that doesn't seem to work?
Can someone tell me what I'm doing wrong?
Thank you!
Cameo
invisible depending on a value of a control in the report.
I think I have a syntax error, but I don't know what it is...
The code I have is:
Private Sub Report_Open (Cancel as Integer)
If Me.NotesTypeID = 33 then Me!SponsorEventHeader.Visible = False
End Sub
The above returns an error. I've tried adding parens (Me.NotesTypeID = 33)
but that doesn't seem to work?
Can someone tell me what I'm doing wrong?
Thank you!
Cameo