Example 2: Displaying and editing rows of a table

example2.cp demonstrates updating a row through a cursor. The program: