1,217
社区成员




Adodc1.RecordSource = "select A,count(A) as c from list group by A"
Adodc1.Refresh
while not Adodc1.RecordSourc.eof
text1(Adodc1.Recordset.Fields("A")).text=Adodc1.Recordset.Fields("c") '用text1控件数组
Adodc1.RecordSourc.movenext
wend
Adodc1.RecordSource = "select A,count(A) as c from list group by A"
Adodc1.Refresh
while not Adodc1.RecordSourc.eof
text1(rs!A).text=rs!c '用text1控件数组
Adodc1.RecordSourc.movenext
wend