Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
What is difference bewten Peek and previous functions in Qlickview ?
Clearly explained here Peek() vs Previous() – When to Use Each
Hi,
Using peek fun we can fetch any records which have been loaded previously where as Previous fun can used to fetch previous record(if current load statement read 4th record previous fun can read 3rd record value).
Peek fun can be used in load statement as well script variables bt Previous function can not be used in outside of load script.
Thanks
Paridhi
Hi ramesh,
Peek() finds the value of a field in a table for a row that has already been loaded or that exists in internal memory. The row number can be specified, as can the table.
Syntax:Peek(field_name[, row_no[, table_name ] ] )
Previous() finds the value of the expr expression using data from the previous input record. In the first record of an internal table, the function will return NULL.
Syntax: Previous(Exp)
R/Murali.