A
Afrosheen
Thanks for reading my question.
I have a filter where it needs 1 criteria but it equals three other things.
This is the filter:
stwhere = "[shift] = 'B-Days' or [shift] = 'A-Days' or [shift] = 'Day
Shift' or [status] = 'Working'"
stDocName = "Rpt_Adays"
DoCmd.OpenReport stDocName, acViewPreview, , stwhere, ,
What I need is the field of [shift] to equal the "a-days', 'b-days', and
'day shift' and the field of [status] = to working.
When i do the report it displays;
Joe a-days working
Ted b-days off day
John day shift working
Mark b-days working.
Brian day shift off day
etc. The only problem is that it shows them as Off Day and any other
information. I need just those people working "Working"
Am I doing something wrong or am I going about it wrong?
Thanks
I have a filter where it needs 1 criteria but it equals three other things.
This is the filter:
stwhere = "[shift] = 'B-Days' or [shift] = 'A-Days' or [shift] = 'Day
Shift' or [status] = 'Working'"
stDocName = "Rpt_Adays"
DoCmd.OpenReport stDocName, acViewPreview, , stwhere, ,
What I need is the field of [shift] to equal the "a-days', 'b-days', and
'day shift' and the field of [status] = to working.
When i do the report it displays;
Joe a-days working
Ted b-days off day
John day shift working
Mark b-days working.
Brian day shift off day
etc. The only problem is that it shows them as Off Day and any other
information. I need just those people working "Working"
Am I doing something wrong or am I going about it wrong?
Thanks