Dim startstg As String Dim EndStg As String Dim date1 As String Dim date2 As String Private Sub Command1_Click() Call Connect esql = "select * from bank where Date>=3DCDate('" & DTPicker1.Value & "') AND Date<=3DCDate('" & DTPicker2.Value & "')" rs.Open esql, con, adOpenForwardOnly, adLockReadOnly End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)