LabVIEW Database Connectivity Toolkit API Reference

DB Tools Free Object VI

  • Updated2023-02-21
  • 3 minute(s) read

DB Tools Free Object VI

Owning Palette: Advanced VIs

Requires: Database Connectivity Toolkit

Frees an object by destroying its associated reference and returns a different reference object. Wire data to the reference input to determine the polymorphic instance to use or manually select the instance.

Examples

Command

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.
connection reference returns a reference to an ADO Connection object.
error out contains error information. This output provides standard error out functionality.

Recordset

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.
connection reference returns a reference to an ADO Connection object.
error out contains error information. This output provides standard error out functionality.

Command-Recordset

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 reference returns a reference to an ADO Command object.
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 Free Object VI:

  • Using Connection Strings VI: labview\examples\database\EXE
  • Database Fetching VI: labview\examples\database

Log in to get a better experience