Pradeep_k2
Novice

k2 loop through all the rows in List View and pass data to another view

we have requirement to loop through the rows in List View, and then based on some condition we need to  pass the data to another view, pseudo code show below

 

if(impact=yes)
{

//increment a variable
}


pass the variable to another view and set as the control value

0 Kudos
Reply
1 Reply
tin
Apprentice

Re: k2 loop through all the rows in List View and pass data to another view

Please see if the post below will meet your needs:


http://community.k2.com/t5/K2-blackpearl/For-Each-Loop-of-Rows-in-a-List-View/td-p/85122


 


If you likely need to use Conditions to target the applicable row, and then some navigate to subform/subview with the parameters mapped accordingly.

0 Kudos
Reply