I have two questions:
1) Can one access data using VB6 from a Lotus Notes
Database?
2) If so, I'm trying to dump employee names into a List
Box, but I get an error message saying that Record Set
set is not found. I set my ODBC w/ the correct server
address and file name (file name is CSG\SystemInfo.NSF).
The record name is also correct....maybe someone can
help me. Here is the code:
Private Sub Command1_Click()
Dim adoConnection As ADODB.Connection
Dim adoRecordset As ADODB.Recordset
Dim connectString As String
Set adoConnection = New ADODB.Connection
Set ado Recordset = New ADODB.Recordset
ConnectString = “ODBC;DatasetName = SystemInfo;”
AdoRecordset.Open “CSG\SYSTEMINFO.NSF”, adoConnection
Do Until adoRecordset.EOF
List1.AddItem adoRecordset!AssociateName
AdoRecordset.MoveNext
Loop
AdoRecordset.Close
AdoConnection.Close
Set adoRecordset = Nothing
Set adoConnection = Nothing
End Sub