巫师3二周目剧毒银蛇:如何用VB编写这样的recordset.find 语句
来源:百度文库 编辑:高考问答 时间:2024/04/29 12:00:47
我定义mytb作为一个变量,想在当前recordset中搜索字段class 值为mytb 的记录.程序该如何编?(假设mytb为第二册第一科,第二册第二课等等)
if not recordset.bof() then recordset.movefirst
recordset.find "class='" & mytb &"'"
if not recordset.eof() then
'找到了
end if
'可能不只一个