Free for PREMIUM members
Dim cnn As ADODB.Connection
Dim rst As ADODB.Recordset
Set cnn = New ADODB.Connection
Set rst = New ADODB.Recordset
cnn.Open "YourDSN", "YourUsername", "YourPassword"
rst.ActiveConnection = cnn
rst.CursorLocation = adUseServer
rst.Source = "SELECT * FROM TABLE WHERE FIELD='data'"
variable = rst.Fields("FIELD") ' Do whatever you need to the data
Set rst = Nothing
Set cnn = Nothing
Open in new window
Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.