Code Snippets → Code To Loop Through A Recordset

With this code you can modify it as you like. This is a simple starter for opening a DAO Recordset and looping through it.