Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
why using peek()
Go to Reference Manual and Search Peek()..
This is a powerful function for scripting !
peek(fieldname [ , row [ , tablename ] ] )
peek( 'Sales' )
returns the value of Sales in the previous record read ( equivalent to previous(Sales) ).
peek( 'Sales', 2 )
returns the value of Sales from the third record read from the current internal table.