I've been having that issue this week (getting the WHOLE story through in one post/email).
I have a Contacts list that the whole IS department uses for internal contact info. I've added these fields to help automate the On Call rotation process (I also have a timer job that fires off daily to adjust the current On Call person). What I want to do is display a web part that displays each OnCallStack's (ie "Technical Services", "A-Team", "Cache", etc.) active member. It would be pretty straight-foward if it was just show where OnCallActive = Yes, but, if OnCallOverride for a given stack is set, then that takes precedence over any OnCallActive = Yes in the stack.
For example:
Quote:
Name --- OnCallStack --- OnCallActive --- OnCallOverride
Smith, John --- Technical Services --- Yes --- No
Sue, Betty --- Technical Services --- No --- No
This should return Smith, John as the active member on call. However, if this were the data:
Quote:
Name --- OnCallStack --- OnCallActive --- OnCallOverride
Smith, John --- Technical Services --- Yes --- No
Sue, Betty --- Technical Services --- No --- Yes
Then Sue, Betty should be the active member on call.