统计一个表中某一字段相同的记录个数 表A绑定在记录集Adodc1上。卡号是其中的一列如何查询里面卡号=100801的记录个数 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select count(卡号) as 卡号数 from 表A where 卡号='100801' 怎么让卡号数赋值给text.text呢 dim rs as new adodb.recordsetrs.open "select count(*) as 卡号数 from 表A where 卡号='100801'",conn,adopenkeyset,adlockreadonlyif rs.recordcount>0 then if not isnull(rs!卡号数) then text1.text=rs!卡号数 end ifend ifrs.close 运行时报错!!缺少case表达式 adodc1.recordset.filter="卡号='100801'"msgbox adodc1.recordset.recordcount 请高人指点,谢谢! 请教 连接Access数据库时总是出现对象变量或with块变量错误? TVIS_DROPHILITED = &H8 干吗用?? 声讨我们家乡的报纸 大连日报 可以用vb编程实现锁屏功能吗? tshow(瑞科ROOM),请进接分:) vb怎么接收长度不同的两帧数据 如何自己調用编译和连接器, 把 .vbp 文件 生成 .exe文件 ACCESS97的文件最多支持多少用户同时访问 学习C++对精通VB有帮助吗? 如何得到一个flsah网站的源代码 在VB中调用timesetevent时,生成exe运行时总提示该内存不能读
rs.open "select count(*) as 卡号数 from 表A where 卡号='100801'",conn,adopenkeyset,adlockreadonly
if rs.recordcount>0 then
if not isnull(rs!卡号数) then
text1.text=rs!卡号数
end if
end if
rs.close
缺少case表达式
msgbox adodc1.recordset.recordcount