当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO ActiveCommand 与 ActiveCon

ADO
ADO介绍
ADO数据库连接
ADO记录集
ADO显示记录
ADO查询语句
ADO记录排序
ADO添加记录
ADO更新记录
ADO删除记录
ADO演示
ADO提升执行速度
ADO Command对象
ADO Connection对象
ADO Error
ADO Field
ADO Parameter
ADO 属性
ADO Record
ADO Recordset
ADO Stream

ADO ActiveCommand 与 ActiveCon


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 359 ::
收藏到网摘: n/a

ActiveCommand
ActiveCommand 属性

The ActiveCommand property returns a variant that contains the Command object associated with the Recordset object.
ActiveCommand属性的作用是:返回一个通过Command[指令]对象创建的Recordset[记录集]对象的变量。

Note: If the Recordset object was not created by a Command object, Null is returned.
注意:如果Recordset[记录集]对象不是通过Command[指令]对象创建的,那么,它将返回空值。

ActiveConnection
ActiveConnection 属性

The ActiveConnection property sets or returns a string or variant that contains the Connection object associated with the Recordset object. If the connection is closed, this property sets or returns a definition for a connection.
ActiveConnection属性的作用是:设置或返回一个通过Command[指令]对象创建的Recordset[记录集]对象的字符串或变量。如果连接被关闭,那么该属性将设置或返回一个连接的定义。

Syntax
语法

objRecordset.ActiveCommand
objRecordset.ActiveConnection

评论 (0) All

登陆 | 还没注册?