cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate Row in matrix

knsv_prasad
Explorer
0 Kudos

How to write a code, when a person choose same item  in a matrix should get a error status bar message that an selected item already existed.

Accepted Solutions (0)

Answers (1)

Answers (1)

edy_simon
Active Contributor
0 Kudos

Hi,

On After Choose from list event,

Check the item code selected and loop through the matrix, check one by one row.

Regards

Edy

Former Member
0 Kudos

Hai,

          

        You  can control in Two Way.

           1. In Choose From List

                        In BeforeAction =True   you use the query with Codintion  in Choose From List before action true, what ever already you choosed in Matrix that code does not display again in Choose From  List .

          2. validation

                      you check, when add the Record  at that time . check the same itemcode repeated again.

Regards,

K Sakthivel

pushpendra_yadav
Explorer
0 Kudos

HI PRASAD

In Choose From List Event

                        In BeforeAction =True 

First you get the Value of First Row  (  Like Item Code) and next step is Get the Current Value of CFL if Both are Same you  can Use Your Condition .

Hope Help

Regards

Pushpendra Singh

knsv_prasad
Explorer
0 Kudos

thank you