# GET'PREV
> [HTML Version](get-prevstatements.htm)
**GET'PREV #channel, \{wait’record,\} varlist**
**GET'PREV'LOCKED #channel, \{wait’record,\} varlist**
**GET'PREV'READ'ONLY #channel, \{wait’record,\} varlist**
These statements are identical to the corresponding GET'NEXT statements except instead of getting the next (i.e. higher) record in the index, they get the previous (i.e. lower) record in the index.
The _fstatvar_ variable, from the [OPEN](openforisam-a.htm.md) statement (if within the current scope) or from [.fstat()](filefunctions.htm.md#fstat), will be set to ISAM\_NF if there are no more records in index order, or ISAM\_NA if the found record is locked, or ISAM\_EQ for success.