奥迪四驱quattro优缺点:如何用VB编写这样的recordset.find 语句
来源:百度文库 编辑:神马品牌网 时间:2024/05/11 00:36:00
我定义mytb作为一个变量,想在当前recordset中搜索字段class 值为mytb 的记录.程序该如何编?(假设mytb为第二册第一科,第二册第二课等等)
if not recordset.bof() then recordset.movefirst
recordset.find "class='" & mytb &"'"
if not recordset.eof() then
'找到了
end if
'可能不只一个