Dim cnn As ADODB.Connection
Dim rst as ADODB.Recordset
Set cnn = CurrentProject.Connection
Set rst=New ADODB.Recordset
rst.Open "MyTableNameHere", cnn, adOpenDynamic, adLockOptimistic
to get a recordset.
You can change the adOpenDynamic to whatever of the 4 options you need for your cursor and also the same with adLockOptimistic for the locks.