i declared DR_DATE field as date in transaction table (ms access).. now, Set RS1 = New ADODB.Recordset RS1.Open "select * from transaction where DR_DATE < \'#" + Te