将ADODB.Recordset中的单个记录传递到子例程

时间:2014-02-24 15:34:15

标签: vb.net record adodb

我正在尝试将ADODB.Recordset中的单个记录的内容传递给子例程。

我试过了:

Dim CurrentRecord as New ADODB.Record
CurrentRecord.Open(Rset) 
' Where Rset is an ADODB.Recordset that has been filtered to the record I want

但我得到一个错误 - object or provider is not capable of performing requested operation,研究表明这与光标类型有关,但尝试了所有选项后仍然出现错误!

0 个答案:

没有答案