"select * from student where " & str1(List1.ListIndex) & " >= " & date& " and " & str1(List1.ListIndex) & " <= " & date2
错在那里?
其中date1,和date2为日期型