| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > BrowseClass > BrowseClass Methods >====== UpdateViewRecord (get view data for the selected item) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[updatethumbfixed position the scrollbar fixed thumb .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[updatewindow update display variables to match browse .htm|{{btn_next_n.gif|Next page}}]] | | || **UpdateViewRecord, VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} The **UpdateViewRecord **method regets the browse's VIEW record for the selected browse list item (using PROP:Selected from the associated list control) so the VIEW record can be written to disk. The UpdateViewRecord method arms automatic optimistic concurrency checking so the eventual write ([[put re write record .htm|PUT]]) to disk returns an error if another user changed the data since it was retrieved by UpdateViewRecord. **Implementation:** The UpdateViewRecord method uses [[watch automatic concurrency check .htm|WATCH]] and [[reget re get record .htm|REGET]] to implement optimistic concurrency checking; see the //Language Reference// for more information. **Example:** **  IF FIELD() = ?ChangeButton           !on change button** **   IF EVENT() = EVENT:Accepted         !if button clicked** **    MyBrowse.UpdateViewRecord          !refresh buffers and arm WATCH** **    DO MyBrowse:ButtonChange           !call the update routine** **   END** **  END**