Select the record to edit