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