Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

DB Tools Save Recordset To File VI

LabVIEW 2013 Database Connectivity Toolkit Help

Edition Date: June 2013

Part Number: 370016F-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Utility VIs

Requires: Database Connectivity Toolkit

Saves the recordset identified by the recordset reference to either an XML or ADTG file. The ADTG file format is a proprietary format that only the LabVIEW Database Connectivity Toolkit can interpret. The ADTG format results in a smaller file than the XML format. You can reload both formats into LabVIEW using the DB Tools Load Recordset From File VI.

Wire data to the reference input to determine the polymorphic instance to use or manually select the instance.

Example

Use the pull-down menu to select an instance of this VI.

Save Recordset To File (R)

overwrite? determines whether to overwrite the file specified in file name if the file already exists.
recordset reference specifies a reference to an ADO Recordset object.
file name specifies the path where you want to save the file. You can click the Browse button to navigate to the correct file path.
save format specifies the format to use when saving a recordset to file.

ADTGA smaller, proprietary file format that only the Database Connectivity Toolkit can interpret.
XMLA text-based format that any text viewer can interpret.
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.
error out contains error information. This output provides standard error out functionality.

Save Recordset To File (CR)

overwrite? determines whether to overwrite the file specified in file name if the file already exists.
command-recordset reference specifies a reference that combines an ADO Command object and an ADO Recordset object.
file name specifies the path where you want to save the file. You can click the Browse button to navigate to the correct file path.
save format specifies the format to use when saving a recordset to file.

ADTGA smaller, proprietary file format that only the Database Connectivity Toolkit can interpret.
XMLA text-based format that any text viewer can interpret.
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.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the Telecommunications Parametric Testing VI in the labview\examples\database directory for an example of using the DB Tools Save Recordset To File VI.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit