Local lcSQL lcSQL = [SELECT * from registration WHERE registration.flddate between ]+ TransformToDate(thisform.text1.value)+[ and ]+TransformToDate(thisform.text2.value) &lcSQL
Make solutions, not programs!