Hello. I have a query that references a form field as query criteria:
[Forms]![Team]![Team]
The Team field on the form allows the user to select one (1) name. An example of some of the form field values:
Sandy
John
Jennifer
The query successfully brings back all records that meet that criteria. The problem is that some of the records contain team names like:
Sandy/John
Jennifer/Sandy
I don't want to require the user to select all possible combinations where their name is referenced. I want them to be able to select their name on the form and have the query search for all records containing that name.
In other words, if the user selects 'Sandy' on the form the query results show all records that contain 'Sandy' in the team field? The results would be like:
Sandy
Sandy/John
Jennifer/Sandy
Any help/direction is greatly appreciated.
[Forms]![Team]![Team]
The Team field on the form allows the user to select one (1) name. An example of some of the form field values:
Sandy
John
Jennifer
The query successfully brings back all records that meet that criteria. The problem is that some of the records contain team names like:
Sandy/John
Jennifer/Sandy
I don't want to require the user to select all possible combinations where their name is referenced. I want them to be able to select their name on the form and have the query search for all records containing that name.
In other words, if the user selects 'Sandy' on the form the query results show all records that contain 'Sandy' in the team field? The results would be like:
Sandy
Sandy/John
Jennifer/Sandy
Any help/direction is greatly appreciated.