Report question

Question: How to Select a record from the database and update it in an atomic query