B
Brigitte P
My users use a form to drill their reporting requirements down to specific
data, e.g., Department, Ward, Job Positon, which is then passed on to the
query which is the basis for the resulting report. They have the option to
fill fields in or leave them blank to have their selection as broad or
narrow as needed. Now I have on field with job positions with the query
criteria: Like [Forms]![frm LookupMadatoryTraining]![txtPosition] & "*"
which works fine. But now I would like to include perhaps 4 job options so
they can select all within one department who meet a certain job criteria,
e.g., Nursing - Registered Nurse, Practical Nurse, Aide, Secretary. They
have 4 selection fields named txtPos1, txt Pos2 and so on.
I tried Like [Forms]![frm LookupMadatoryTraining]![txtPosition] & "*" or
Like [Forms]![frm LookupMadatoryTraining]![txtPos1] & "*" or Like
[Forms]![frm LookupMadatoryTraining]![txtPos2] & "*"
I also tried Like [Forms]![frm LookupMadatoryTraining]![txtPosition] or Like
[Forms]![frm LookupMadatoryTraining]![txtPos2] or Like [Forms]![frm
LookupMadatoryTraining]![txtPos3] & "*"
All doesn't work; my logic is somehow wrong even though I know it's an Or
criteria.
Would someone please point me in the right direction.
As always, many thanks to your helpful people.
Brigitte P
data, e.g., Department, Ward, Job Positon, which is then passed on to the
query which is the basis for the resulting report. They have the option to
fill fields in or leave them blank to have their selection as broad or
narrow as needed. Now I have on field with job positions with the query
criteria: Like [Forms]![frm LookupMadatoryTraining]![txtPosition] & "*"
which works fine. But now I would like to include perhaps 4 job options so
they can select all within one department who meet a certain job criteria,
e.g., Nursing - Registered Nurse, Practical Nurse, Aide, Secretary. They
have 4 selection fields named txtPos1, txt Pos2 and so on.
I tried Like [Forms]![frm LookupMadatoryTraining]![txtPosition] & "*" or
Like [Forms]![frm LookupMadatoryTraining]![txtPos1] & "*" or Like
[Forms]![frm LookupMadatoryTraining]![txtPos2] & "*"
I also tried Like [Forms]![frm LookupMadatoryTraining]![txtPosition] or Like
[Forms]![frm LookupMadatoryTraining]![txtPos2] or Like [Forms]![frm
LookupMadatoryTraining]![txtPos3] & "*"
All doesn't work; my logic is somehow wrong even though I know it's an Or
criteria.
Would someone please point me in the right direction.
As always, many thanks to your helpful people.
Brigitte P