dim i
i=0
data1.recordset.movefirst
if data1.recordset.eof<>true then
i=i+1
data1.recordset.movenext
else
data1.recordset.movefirst
end if最后的i就是recordset的记录数
i=0
data1.recordset.movefirst
if data1.recordset.eof<>true then
i=i+1
data1.recordset.movenext
else
data1.recordset.movefirst
end if最后的i就是recordset的记录数
解决方案 »
- 隐藏工作簿如何用程序显示出来?
- vb程序运行过程中自动退出,怎么回事?高手帮帮忙!
- 急:vb调用动态链接库函数的简单问题,在线等!!
- VB中如何将
- 如何将ACTIVEREPORT中某列合计数值传给另外一个文本框
- loadpicture这函数怎么用?
- 怎樣自動關閉一個程序?
- 怎样实现与 acdsee 中对图片放大缩小相同的效果!
- 如何用vb制作不规则窗体?
- 一个sql server触发器的问题,因为我不知道,我想对大家应当是很简单的!
- 帮帮忙呀,如何实现:一开机,直接进入打包好的vb程序。
- 《〈VB网络初学者,关于winsock控件不可用的问题~~~~~~~~~~~~~~~~~~~~~~~~〉》
Data1.Recordset.RecordCount
.refresh
reconts= .Recordset.Recordcount 记录数End with