You can do this either through a DSN or a Jet Provider statement.
First you open a connection to the database using the DSN or provider statement. Then you create a recordset on the table using the connection.
So that would look something like (using ADO and a DSN):
Dim cn As ADODB.Connection
Dim rs As ADODB.Recordset
Dim sSQL As String
sSQL = "SELECT JobName FROM Master Jobs"
Set cn = New ADODB.Connection
cn.Open "DSN=YourDSNName;"
rs.Open sSQL, cn, adOpenDynamic, adLockOptimistic
...
Something like that. I use ADO and SQL back ends mostly.
Did any of that help?
mmcdonal
Look it up at:
http://wrox.books24x7.com