(akt.A_Name like '"+filter+"' or akt.A_Name like '"+filterLower+"' or akt.A_Name like '"+filterUpper+"') "+"AND ('"+Datum+"' Between I_Beginn And I_Ende) Or (('"+Datum+"' > I_Beginn) And (I_Ende = '"+anDat+"'))");