* This example is a Visual Basic module that creates a global variable for the data connection.

* The connection itself is defined in this module.

* Other modules in the project can reference the variable gConn to refer to the ADO connection object.



Declare the global variable gConn.



The function DataOpen uses the global variable gConn to create an
open ADO connection.



The function ConnectString assigns a DSN or connection string to the ADO ConnectionString



Error Handler for errors opening the ADO connection.



StrNulls - convert null values to strings



chkNulls - Test if a value is null












Copyright © 2006-2016, LQSystems,Inc. All rights reserved.


   Printer Friendly Page


ADO Home