The following code example uses the OpenRecordset method to create a table-type Recordset object for a table in the current database.
“`vb Dim dbsNorthwind As DAO.Database Dim rstCustomers As DAO.Recordset
Set dbsNorthwind = CurrentDb Set rstCustomers = dbsNorthwind.OpenRecordset(“Customers”)
“`
!include[Support and feedback]