DB Tools Get Properties VI
- Updated2023-02-21
- 13 minute(s) read
DB Tools Get Properties VI
Owning Palette: Utility VIs
Requires: Database Connectivity Toolkit
Gets properties of the object as determined by the inputs. This VI works for connections, commands, recordsets, columns, and parameters. Wire data to the reference input to determine the polymorphic instance to use or manually select the instance.
Connection

![]() |
connection reference specifies a reference to an ADO Connection object. | ||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||
![]() |
connection reference out returns a reference to an ADO Connection object. | ||||||||
![]() |
connection properties returns the following properties that define the database connection.
| ||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Recordset (R)

![]() |
recordset reference specifies a reference to an ADO Recordset object. | ||||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||||
![]() |
recordset reference out returns a reference to an ADO Recordset object. | ||||||||||||||||||||||||||||
![]() |
recordset properties returns the various properties associated with a recordset object.
| ||||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Recordset (CR)

![]() |
command-recordset reference specifies a reference that combines an ADO Command object and an ADO Recordset object. | ||||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||||
![]() |
command-recordset reference out returns a reference that combines an ADO Command object and an ADO Recordset object. | ||||||||||||||||||||||||||||
![]() |
recordset properties returns the various properties associated with a recordset object.
| ||||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Column (R)

![]() |
recordset reference specifies a reference to an ADO Recordset object. | ||||||||||||||||||||
![]() |
column index specifies either the ordinal index of the column or the name of the column. | ||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||
![]() |
recordset reference out returns a reference to an ADO Recordset object. | ||||||||||||||||||||
![]() |
column properties returns the following properties defined for a column.
| ||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Column (CR)

![]() |
command-recordset reference specifies a reference that combines an ADO Command object and an ADO Recordset object. | ||||||||||||||||||||
![]() |
column index specifies either the ordinal index of the column or the name of the column. | ||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||
![]() |
command-recordset reference out returns a reference that combines an ADO Command object and an ADO Recordset object. | ||||||||||||||||||||
![]() |
column properties returns the following properties defined for a column.
| ||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Command (C)

![]() |
command reference specifies a reference to an ADO Command object. | ||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]() |
command reference out returns a reference to an ADO Command object. | ||||||
![]() |
command properties returns the following properties that define the most recent SQL query.
| ||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Command (CR)

![]() |
command-recordset reference specifies a reference that combines an ADO Command object and an ADO Recordset object. | ||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||
![]() |
command-recordset reference out returns a reference that combines an ADO Command object and an ADO Recordset object. | ||||||
![]() |
command properties returns the following properties that define the most recent SQL query.
| ||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Parameter (C)

![]() |
command reference specifies a reference to an ADO Command object. | ||||||||||||||
![]() |
parameter index specifies either the ordinal index of the parameter or the name of the parameter. | ||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||
![]() |
command reference out returns a reference to an ADO Command object. | ||||||||||||||
![]() |
parameter properties returns the following properties that define the query parameters.
| ||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Parameter (CR)

![]() |
command-recordset reference specifies a reference that combines an ADO Command object and an ADO Recordset object. | ||||||||||||||
![]() |
parameter index specifies either the ordinal index of the parameter or the name of the parameter. | ||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||
![]() |
command-recordset reference out returns a reference that combines an ADO Command object and an ADO Recordset object. | ||||||||||||||
![]() |
parameter properties returns the following properties that define the query parameters.
| ||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following VIs for examples of using the DB Tools Get Properties VI:
- Database Fetching VI: labview\examples\database
- Playback (fetching) VI: labview\examples\database









