Hmmm... it seems that you just care if ANY of the eight are between "0" and "7". So if Question1 fits that criteria, why evaluate the rest? Try this construct and see if it works:
=Sum(IIf([cboBOQuestion1] Between "0" And "7", 1, IIf([cboBOQuestion2] Between "0" And "7", 1, IIf([cboBOQuestion3] Between "0" And "7", 1, IIf([cboBOQuestion4] Between "0" And "7", 1, IIf([cboBOQuestion5] Between "0" And "7", 1, IIf([cboBOQuestion6] Between "0" And "7", 1, IIf([cboBOQuestion7] Between "0" And "7", 1, IIf([cboBOQuestion8] Between "0" And "7", 1, 0))))))))
Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
|