We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Private Sub Command1_Click() MSHFlexGrid1.Clear MSHFlexGrid1.Rows = 2 MSHFlexGrid1.Cols = 2 On Error Resume Next Dim oconn As New ADODB.Connection Dim RS As New ADODB.Recordset Dim strSQL As String Dim i As Integer 'SQL query detail: strSQL = "SELECT * FROM tmmgr.location" Set oconn = New ADODB.Connection ' oconn.Open "Provider=OraOLEDB.Oracle.1;Data Source=TEST_ENVIRONMENT;User Id=XXXXXXX;Password=XXXXXXXX;" RS.CursorType = adOpenStatic RS.CursorLocation = adUseClient RS.LockType = adLockOptimistic RS.Open strSQL, oconn, adCmdText Set MSHFlexGrid1.DataSource = RS End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.