cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate Values

Former Member
0 Kudos

Hai,

I designed the form using screenpainter. On that i have some textboxes and one matrix. On that matrix iam giving values in the first row and on second row i am entering the same values but for me it should not that is there should not be dulpicate value. If anybody have idea help me.

Regards,

Anitha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

People please remember that this is the SAP B1 forum, questions here should be about workarounds and functionality of the software, for a better and quicker answer of SDK/Add-ons questions you should post the questions on the SAP B1 SDK forum here also at SDN.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ani,

You can do this in many way depending on when you want duplicates to appear. You can do it when you tab out of a specific column (lost_focus event) or even on every key pressed. You can also run through the matrix when pressing the save button and checking all the values.

You can maybe save the values that should be unique row for row in an array as you loop through the matrix and on every new line check if the values is in the array.

Hope it helps,

Adele