Microsoft KB article The AND.DB() function or the OR.DB() function cannot contain more than 40 parameters unexpectedly in a SharePoint 2010 site: http://support.microsoft....spid=14944