| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > BrowseClass > BrowseClass Methods >====== UpdateBuffer (copy selected item from queue buffer to file buffer) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[takevcrscroll process a vcr scroll event .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[updatequery set default query interface .htm|{{btn_next_n.gif|Next page}}]] | | || **UpdateBuffer, VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} The **UpdateBuffer **method copies corresponding data from the //queuefield //fields to the //filefield //fields specified by the **AddField** method for the currently selected browse item (using the value of **SELF.CurrentChoice**). Typically these are the browse list's queue buffer fields and the file buffer fields so that the file buffers match the currently selected browse list item. **Implementation:** Many of the BrowseClass methods call the UpdateBuffer method. **Example:** ** IF FIELD() = ?FirstTab      !if first tab selected** **  IF MyBrowse.SetSort(1,0)   !apply the first sort order** **   MyBrowse.ResetThumbLimits !if sort changed, reset thumb limits** **  END** **  MyBrowse.UpdateBuffer      !update file buffer from selected item** **  MyBrowse.UpdateResets      !update file buffer from reset fields** ** END** **See Also:     **[[addfield specify a file queue field pair .htm|AddField]]