The code below opens a connection to an Access 2000 database named test that is located in the same folder as the application.
Dim Conn As New ADODB.Connection
Dim cmd As New ADODB.Command
Dim rs As New ADODB.Recordset
With Conn
.CursorLocation = adUseClient
.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\Test.mdb ;Persist Security Info=False"
.Open
End With
The next section opens and sets a command object to use an existing query in access. An example of adding parameters is included. Remove the paramter if not needed or repeat the two lines if more than one parameter is required.
With cmd
Set .ActiveConnection = Conn
.CommandText = "Query1" 'Name of the access query
.CommandType = adCmdStoredProc
'Add a parameter if needed
.Parameters.Append .CreateParameter("Param", adInteger, adParamInput, 6)
.Parameters("Param"

.Value = variable
End With
rs.Open cmd, , adOpenDynamic, adLockOptimistic
rs.movefirst
Loop through the recordset and fill the combo box. 'FieldName' is the name of the field being used to fill the combo box.
Do
Combo1.additem rs![Fieldname]
rs.movenext
loop until rs.eof
Hope this helps. Thanks and Good Luck!
zemp