困惑多日的问题控件数组
意思是想一个窗体显示多条记录的意思,却又不想使用表格,如用Label1显示,Private Sub Command1_Click()
With Adodc4
.ConnectionString = Conn
.RecordSource = "select count(distinct rte),sum(yu) FROM ttt_view where " & _
" 时间>='" & Trim(DTPicker1.Value) & "' " & _
" and 时间<='" & Trim(DTPicker2.Value) & "' "
.Refresh
End With
Label1.Caption = Adodc4.Recordset.Fields(0)
Label1.Caption = Adodc4.Recordset.Fields(1)
Label1为数组控件
应如何解决,请指教
[ 本帖最后由 jxawgya 于 2011-5-21 15:57 编辑 ]