accessewbie
MIS
I've been struggling with a statement I want to create so it can eliminate manual work. I've had to create an audit database. I have the following fields:
Customer
Ops Center (combo box if that matters where the user can choose Global or North America - I might add more at a later date)
North America Price Parent (combo box as well where the user can choose either YES or NO)
EMEA Price Parent (combo box with same selection as above)
APAC Price Parent (combo box with same option as above).
I have a rough draft of what I want the statement to accomplish and I know it's not right. First of all when I did have a partial working statement it returned -1 (which I think may have to do with the combo box)???
Here's what I have:
(IIF [Ops Center] = "North America" AND [North America Price Parent]=yes or no, "yes","" OR IIF [Ops Center] = Global AND [North America Price Parent] AND [EMEA Price Parent] AND [APAC Price Parent]= yes or no, "yes","")
Could someone please help? My only other solution was to create another column and manually check whether or not all the fields were verified, but I want Access to work for me
Let me know if you need additional information as my request of what I want to achieve may not be that clear. Thanks in advance for the help.
Customer
Ops Center (combo box if that matters where the user can choose Global or North America - I might add more at a later date)
North America Price Parent (combo box as well where the user can choose either YES or NO)
EMEA Price Parent (combo box with same selection as above)
APAC Price Parent (combo box with same option as above).
I have a rough draft of what I want the statement to accomplish and I know it's not right. First of all when I did have a partial working statement it returned -1 (which I think may have to do with the combo box)???
Here's what I have:
(IIF [Ops Center] = "North America" AND [North America Price Parent]=yes or no, "yes","" OR IIF [Ops Center] = Global AND [North America Price Parent] AND [EMEA Price Parent] AND [APAC Price Parent]= yes or no, "yes","")
Could someone please help? My only other solution was to create another column and manually check whether or not all the fields were verified, but I want Access to work for me