I'm trying to populate a combo box using the following code:
My problem is when it hits .EOF rather than exiting the Loop it tries to go through and throws an error NO current record. Why won't it stop?
Code:
Do Until rs.EOF
strComVal = rs!clnt_LastName
cbxSearch.AddItem (strComVal)
rs.MoveNext
Loop
Comment