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.ActiveConnection

rst.ActiveConnection

Syntax

put rst.ActiveConnection
rst.ActiveConnection=objConnection
rst.ActiveConnection="DRIVER={Microsoft Access Driver (*.mdb)};DBQ=demoDb.mdb"

Gets

Object
ADOxtra wrapper for ADODB.Connection object that is the current Connection object of the recordset.
  
Symbol #Null
if there is no current connection which recordset is bound to.

Sets

String
that contains a definition for a connection. In this case, the provider creates a new ADODB.Connection object using this definition and opens the connection. Use BuildConnectionString xtra level method to invoke a dialog for building connection string. See cnn.ConnectionString property for connection string samples.
  
Object
ADOxtra wrapper for opened ADODB.Connection object. Use CreateObject(xtra"ADOxtra",#Connection) to create such object.
  
Symbol #Null
To detach recordset from the connection use #Null. It is possible if cursorLocation is set to adUseClient.

Description

Sets or gets the ActiveConnection property of the wrapped ADODB.Recordset object. Use the ActiveConnection property to determine the Connection object over which the specified Recordset will be opened.

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