Skip to main content
arulk0002
Inspiring
Apr 3, 2022 12:21 PM UTC
Question

Validations two rows

Hi Friends,

How to validate two rows and also between rows where the two rows are equal. please let me know how to do...

2 replies

harshitb6843
Brainy
Apr 3, 2022 3:42 PM UTC

You can directly add validation on every field of the row where the logic can be to check the occurrence of fv!item in the array. If it is more than 1 then the validation should be invoked. 

if(
  wherecontains(fv!item,local!rows)>1,
  "Cannot have duplicate rows",
  {}
)

arulk0002
arulk0002Author
Inspiring
Apr 3, 2022 3:44 PM UTC

Thanks [mention:ef600ff8f5d2497eb2def2126dc89484:e9ed411860ed4f2ba0265705b8793d05] Let me check