L
Leslie Isaacs
Hello All
This is driving me nuts - hope someone can help.
I have a report based on a query that contains the yes/no field [eventngms].
The report's OnOpen event is the following:
Private Sub Report_Open(Cancel As Integer)
On Error Resume Next
Me.Filter = "[eventngms] = true"
Me.FilterOn = True
End Sub
The query does contain records that meet this condition, but the report
won't open - I get the message about the expression not resulting in the
name of a macro etc or that there has been an error evaluating the event,
etc.
I have used filter code similar to the above hundreds of times without a
problem: what's going on here?
Very grateful for any assistance!
Les.
This is driving me nuts - hope someone can help.
I have a report based on a query that contains the yes/no field [eventngms].
The report's OnOpen event is the following:
Private Sub Report_Open(Cancel As Integer)
On Error Resume Next
Me.Filter = "[eventngms] = true"
Me.FilterOn = True
End Sub
The query does contain records that meet this condition, but the report
won't open - I get the message about the expression not resulting in the
name of a macro etc or that there has been an error evaluating the event,
etc.
I have used filter code similar to the above hundreds of times without a
problem: what's going on here?
Very grateful for any assistance!
Les.