How to check the duplicate row with multiple column in infopath repeating table -


i want check duplicate row 3 columns(productid,productname,productcategory). user should not enter duplicate row same productid,productname , productcategory(with these 3 combination). ex1:

productid    productname    productcategory 1            aciloc150      medicine 

user should restricted enter above same productid,productname , productcategory(1 aciloc150 medicine)

i know below code using can check duplicate value in 1 column, how can check duplicate row above combination(productid productname productcategory)?

 count(/my:myfields/my:group1/my:group2[my:field2 != ""]) > 1 , (. = ../preceding-sibling::my:group2/my:field2 or . = ../following-sibling::my:group2/my:field2) 

here /my:myfields/my:group1/my:group2 -> repeating group xpath

my:field2 -> field in repeating table


Comments

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

java - Getting exception in JDBC thin driver -