See Solving Problems with Library References for details. To ensure your code works reliably: There are different types of DAO recordset, with different methods.When you Open Recordset() on a query or attached table, Access defaults to a Dynaset type (db Open Dynaset).These exercises allow you to try out your skills with the UPDATE statement.You will be given questions that you need to solve.
Don't Move Last unless you really need to: this will be slow with a large recordset or a recordset drawn across a network.
Example: It is poor programming to open anything without explicitly closing it. Short of pressing Ctrl Alt Del, you may find that Access will not quit if recordsets or other objects are not closed and dereferenced.
Always close recordsets and set objects to Nothing in the error recovery of your procedure.
When you first Open Recordset(), Access grabs the first record, and keeps processing your code while the others load.
So, if you test Record Count immediately after you Open Recordset, you typically get 0 (if there are no records), or 1 (if there are any, regardless of how many will load.) This does not apply to recordsets of type db Open Table type (the default for local tables.) If you need to know the Record Count, use the Move Last method first.
Search for updating recordset:
The hidden structure makes it harder to manage them, harder to apply criteria, harder to pass arguments, harder to determine the delimiters to use for a field, and harder to upsize since other databases like SQL Server don't use these complex types.