matethreat
Technical User
Hello,
I am trying to filter a subform that is based on an item selected in a combo box.
What I have is a Combo box that lists job numbers (with a text format) and a subform that lists all the people who worked on that job.
My problem is that in the Job Number field of the subform an employee may have worked on several jobs in a day, and all those numbers are entered into one text string.
For example:
John Doe Worked On 040511/041276/041388
If I create a query on it's own I can put the following criteria in it and John Doe appears in the list.
crtieria: like "*040511*"
I would like to do something similar with the filtering of my subform, but because I am using my combo box as the source of the job number I can't seem to get the same result.
I have used the following criteria:
Like [Forms]![Scheduling]![Combo8]
Which will only match employees who have worked on the one job in a day. I have tried several methods but I cannot get the result.
Does anyone have any ideas.
Thank You
Destiny Is Not The Chances We Take, But The Descisions We Make.
I am trying to filter a subform that is based on an item selected in a combo box.
What I have is a Combo box that lists job numbers (with a text format) and a subform that lists all the people who worked on that job.
My problem is that in the Job Number field of the subform an employee may have worked on several jobs in a day, and all those numbers are entered into one text string.
For example:
John Doe Worked On 040511/041276/041388
If I create a query on it's own I can put the following criteria in it and John Doe appears in the list.
crtieria: like "*040511*"
I would like to do something similar with the filtering of my subform, but because I am using my combo box as the source of the job number I can't seem to get the same result.
I have used the following criteria:
Like [Forms]![Scheduling]![Combo8]
Which will only match employees who have worked on the one job in a day. I have tried several methods but I cannot get the result.
Does anyone have any ideas.
Thank You
Destiny Is Not The Chances We Take, But The Descisions We Make.