I became obsessed for about 3 minutes with this problem and I found that you could use regular expressions to match your brackets using wild cards for the interiors...but that would take too long to figure out, so then I just started counting and subtracting from the left. As I count 1 left bracket, I increment my count, and as I encounter a right bracket, I increment my count by -1. I blew my threshold with this line... WHERE (((['C].[PI- LastName])="Hanna") AND ((['C].[PI- FirstName])="S"))) OR .... 3 minutes passed and I got distracted. 5 Left Brackets + -6 left brackets is -1. Do you need all them brackets for that huge statement?