J
Jacob Frankham
Hi
I have (yet another) question regarding my [risk] field.
I have a query, and it has [risk] as one of its fields.
I have an Iif statement in the Criteria section of my query which basically
checks to see which CheckBoxes are selected on my form in order to display
the appropriate risks in the query.
The combo boxes are: High, Medium, Low, Advisory
HOWEVER, I have just been informed that risks may now be classified as
High/Medium or Medium/Low !!!
I do not want to add these to my form as extra checkboxes (too messy), but
would like to add something to my query such that if High AND Medium are
selected, then display High, Medium and High/Medium in the query
Likewise for Medium/Low, If Medium and Low are selected on my form (the
checkboxes) then I wish the query to display Medium, Low and Medium/Low
I have tried THIS:
Iif([forms]![frm_Menu]![cbx_High] And [forms]![frm_Menu]![cbx_Medium],
In("High","Medium","Medium/Low"),"")
which I thought was ingenious at the time - until I ran the query and
realised that it didn't work !
Help, as always, would be welcomed !
Thanks
Jake
I have (yet another) question regarding my [risk] field.
I have a query, and it has [risk] as one of its fields.
I have an Iif statement in the Criteria section of my query which basically
checks to see which CheckBoxes are selected on my form in order to display
the appropriate risks in the query.
The combo boxes are: High, Medium, Low, Advisory
HOWEVER, I have just been informed that risks may now be classified as
High/Medium or Medium/Low !!!
I do not want to add these to my form as extra checkboxes (too messy), but
would like to add something to my query such that if High AND Medium are
selected, then display High, Medium and High/Medium in the query
Likewise for Medium/Low, If Medium and Low are selected on my form (the
checkboxes) then I wish the query to display Medium, Low and Medium/Low
I have tried THIS:
Iif([forms]![frm_Menu]![cbx_High] And [forms]![frm_Menu]![cbx_Medium],
In("High","Medium","Medium/Low"),"")
which I thought was ingenious at the time - until I ran the query and
realised that it didn't work !
Help, as always, would be welcomed !
Thanks
Jake