DavidPontier1
7 years agoQrew Cadet
I need to determine overlap between two multi select text fields
I am creating an APP to generate questions for an Audit system. I have a list of 80 different requirements that apply to 26 different company procedures. Not all of the requirements apply to each of the procedures. In fact most procedures only have 4-5 of the 80 requirements that apply. For each of the 80 requirements I have a multi select field where I've selected each of the procedures that apply to that requirement. Some requirements only apply to one procedure while others apply to 4 different procedures.
If I am only auditing one procedure at a time, it is easy, and I check to see if the procedure attached to that Audit is contained in the multi select field for each requirement. If it is, then I check that requirement and then do a table to table import for all the checked requirements.
However, my head auditor threw a curve ball at me and and she wants to audit multiple procedures at once. So now I had to create a multi select field on the audit where she can select multiple procedures. Now I have to check to see if any of the procedures selected in the audit match any of the procedures assigned to each requirement and check all the requirements that apply.
QB isn't allowing me to filter based on if one multi select field contains another multi select field. Any advice would be appreciated.
If I am only auditing one procedure at a time, it is easy, and I check to see if the procedure attached to that Audit is contained in the multi select field for each requirement. If it is, then I check that requirement and then do a table to table import for all the checked requirements.
However, my head auditor threw a curve ball at me and and she wants to audit multiple procedures at once. So now I had to create a multi select field on the audit where she can select multiple procedures. Now I have to check to see if any of the procedures selected in the audit match any of the procedures assigned to each requirement and check all the requirements that apply.
QB isn't allowing me to filter based on if one multi select field contains another multi select field. Any advice would be appreciated.