How can i do this? Read List View and Filter another List view based on entries?

  • 5 December 2018
  • 2 replies
  • 2 views

Userlevel 3
Badge +16

Hi,

 

Any ideas on how best to do this?

 

I have 1 Form and 2 List views.

 

List View 1 is based on criteria such as bring back all Scheme Numbers within a date range.

So the results could be as follows:

Scheme ID              Scheme Name

1                               Tester

3                               Live

 

List View 2 has a bunch of user detail fields and also a Scheme ID:

Scheme ID            User Name

1                              Bruce Lee

2                              Jackie Chan

2                              Mighty Mouse

3                              Mr Bean

 

So the end result in List View 2 must be as follows:

Scheme ID            User Name

1                              Bruce Lee

3                              Mr Bean

 

Any ideas how i do this? Is a loop needed to read the first Scheme ID from List View 1 and then Loop again for more.

 

Thanks


2 replies

Badge +9

Hi Sharpharp1,


 


Are these 2 SmartObjects associated?


http://help.k2.com/onlinehelp/k2five/userguide/5.2/default.htm#legacydesigntools/k2_for_visualstudio_k2_studio/2.data/4.associations.htm


 


-Jean

Userlevel 3
Badge +16
Hi,

They are seperate Smartobjects, but the a Scheme ID field is what i want to link on as it appears in both SMOs

Reply