Could there be something else missing (or in the wrong order) as placing the "set rs." before the ".Open" still gives an error.

I've moved the lines about that often I don't know which error relates to what but there are 2 errors. The first relates to the data source not being found and highlights the following line:

VB Code:
  1. con.Open ConnString

The second error relates to Object variable not being set.

Here's my code as it stands. Can someone place it in the correct order. Thanks.

VB Code:
  1. Private Sub Form_Load()
  2. Dim con As ADODB.Connection
  3. Dim rs As ADODB.Recordset 'object
  4. Dim ConnString As String
  5.              
  6. Set Text1.DataSource = rs
  7. Set Text2.DataSource = rs
  8. Set Text3.DataSource = rs
  9. Set List1.DataSource = rs
  10.  
  11. Set con = New ADODB.Connection
  12. con.ConnectionString = ConnString
  13. con.Open ConnString
  14.  
  15. With con
  16. ConnString = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=c:\db1.mdb;" & _
  17.              "Persist Security Info=False"
  18.  
  19. End With
  20. rs.Open "select * from Table1", con
  21.  
  22. Text1.DataField = "Field1"
  23. Text2.DataField = "Field2"
  24. Text2.DataField = "Field3"
  25.  
  26. Do Until rs.EOF
  27.   List1.AddItem rs!Description
  28.   rs.MoveNext
  29. Loop
  30. End Sub