Connects to SQL DB using ADODB, if driver not installed, it will attempt to install driver from provided installation folder(s).
This is the more complex version of DB_Connect
Will execute SQL statement if caller provided sSQL, saves output into oRS object, saves 1 or 0 into DB_Connect settings, also saves count of returned rows into LastTableCount setting if caller set sSQLCount statement.
Used in most of Excel-VBA-based tools where database connection is needed, used to be named DB_Connect_AndOr_Fix
Access is limited.
Login here using your Linkedin account. to see or download code.
No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Bold.codes
Linkedin LoginOptional sSQL = "", Optional sSQLCount = ""
Views 1,571
Downloads 441
CodeID
DB ID