可以分包的工程:如何用VB编写这样的recordset.find 语句
来源:百度文库 编辑:杭州交通信息网 时间:2024/05/12 11:36:58
我定义mytb作为一个变量,想在当前recordset中搜索字段class 值为mytb 的记录.程序该如何编?(假设mytb为第二册第一科,第二册第二课等等)
if not recordset.bof() then recordset.movefirst
recordset.find "class='" & mytb &"'"
if not recordset.eof() then
'找到了
end if
'可能不只一个