L
Larry
I am trying to write a query that will return data based on what the user
selects for a parameter, or return all data if the user selects nothing.
The criteria has the following syntax: Like
[Forms]![frmExportRoster]![cboTeam] & "*"
So, if the user selects a team, that team will be displayed (work
beautifully).
BUT, if the user doesn't select a team, then it should return everything
since "Like *" should match everything. It turns out that it does not match
teams that are NULL. So it returns all records except for ones where a team
has not been specified.
Any ideas how I can fix this problem?
selects for a parameter, or return all data if the user selects nothing.
The criteria has the following syntax: Like
[Forms]![frmExportRoster]![cboTeam] & "*"
So, if the user selects a team, that team will be displayed (work
beautifully).
BUT, if the user doesn't select a team, then it should return everything
since "Like *" should match everything. It turns out that it does not match
teams that are NULL. So it returns all records except for ones where a team
has not been specified.
Any ideas how I can fix this problem?