为助一下关一查询ACCESS时间段的问题
Call OpenConn
i = 1
rs.Open SQL, cn, 1, 1
On Error Resume Next
Do While Not rs.EOF
Set addLVW = Me.ListView10.ListItems.Add(, , i, , 1)
addLVW.SubItems(1) = rs!交款日期
addLVW.SubItems(2) = rs!客户
addLVW.SubItems(3) = rs!交款性质
addLVW.SubItems(4) = rs!房号
addLVW.SubItems(5) = rs!会员号
addLVW.SubItems(6) = rs!交款金额
addLVW.SubItems(7) = rs!是否交款
addLVW.SubItems(8) = rs!经手人
rs.MoveNext
i = i + 1
Loop
Me.labCOUNT.Caption = "共收款" & rs.RecordCount & "笔"
Call CloseConn