A list of products available on this site
Documentation for XtraMania's xtras
Prices and links to the online store
Xtras, PDFs, samples
Have a question? Ask us!
Contacts
Logo. www.xtramaina.com  
Home Search E-mail
ADOxtra Reference/rst.Open()

rst.Open()

Parameters

source
Optional. String value that contains an SQL statement, table name, or stored procedure.
  
activeConnection
Optional. Either a ADODB.Connection object, or a String that contains ConnectionString parameters. Use BuildConnectionString xtra level method to invoke a dialog for building connection string.
  
cursorType
Optional. An integer value that determines the type of cursor that the provider should use when opening the Recordset. The default value is adOpenForwardOnly. It can be one of the CursorTypeEnum values.

lockType
Optional. An integer value that determines what type of locking (concurrency) the provider should use when opening the Recordset. The default value is adLockReadOnly. It can be one of the LockTypeEnum values.

options
Optional. Integer value that that indicates how the provider should evaluate the source argument. It may be a bitmask of one or more of the CommandTypeEnum or ExecuteOptionEnum values.

Syntax

bSuccess=rst.Open(source,activeConnection,cursorType,lockType,options)

Returns

True (1) if function completed successfully, false (0) otherwise.

Description

Calls the Open() method of the wrapped ADODB.Recordset object. Using the Open method on a Recordset object opens a cursor that represents records from a base table or the results of a query.

Site homeSearchContact author © Eugene Shoustrov. www.xtramania.com