sql = "SELECT * FROM {pre}AntiFake " flg = 0 If NOT isNul(antifake) Then sql = sql & "WHERE antifake ...