I was wondering what the correct variable type would be within the declarations section for the following variables:

************
Set DB = DBEngine.Workspaces(0).Databases(0)
***********
Set Table = DB.openrecordset("Registered Students Table", DB_OPEN_DYNASET)
************
I'm pretty sure the "Table" variable is Dim Table as Recordset but what is the "DB" variable??? Is it Dim DB as Connection????