G
Guest
I can't seem to get set the Filter property on a subreport using VBA.
Here is my code in the open event of the subreport
Select Case Parent.bytSrt
Case 1
Me.Filter="PersonNo < 4"
Case 2
Me.Filter="PersonNo > 3"
End Select
MSAccess errors with Err# 2101 "The setting you entered isn't valid fo this
property"
my record source is:
"SELECT * FROM tblSirPeople UNION SELECT * FROM tblTempPeople"
and PersonNo should be a valid field
Here is my code in the open event of the subreport
Select Case Parent.bytSrt
Case 1
Me.Filter="PersonNo < 4"
Case 2
Me.Filter="PersonNo > 3"
End Select
MSAccess errors with Err# 2101 "The setting you entered isn't valid fo this
property"
my record source is:
"SELECT * FROM tblSirPeople UNION SELECT * FROM tblTempPeople"
and PersonNo should be a valid field