| Start |
|---|
How to use ADODB.Connection in VBA? Requirements:Add following references to the project: Declare variablesCreate connectiona. with Windows Authenticationb. with SQL Server AuthenticationExecute sql commandRead data from record setClose connectionHow to use it?ResultShipperID: 1 CompanyName: Speedy Express Phone: (503) 555-9831 ShipperID: 2 CompanyName: United Package Phone: (503) 555-3199 ShipperID: 3 CompanyName: Federal Shipping Phone: (503) 555-9931 ShipperID: 4 CompanyName: speedy shipping Phone: (503) 555-1234 |
Read Article
https://develop.horje.com/learn/1434/reference