Application.NewADODBRecordset Method
InfoPath Developer Reference |
Creates and returns a reference to an empty ActiveX Data Objects (ADO) Recordset object.
Version Information
Version Added: InfoPath 2003
Syntax
expression.NewADODBRecordset
expression An expression that returns a Application object.
Return Value
[_RECORDSET]
Remarks
If the form is not fully trusted, the NewADODBRecordset method will return a "permission denied" error.
Security Level 3: Can be accessed only by fully trusted forms.
Example
In the following example, the NewADODBRecordset method of the Application object is used to set a reference to an empty ADO Recordset object:
JScript |
---|
|
See Also