08-31-2010, 10:34 AM
Hi All,
I want to compare an array with another array which collects the values from a column in a webtable.
My basic doubt is how to kept the conditions while comparing them.
1) scenario 1:
If any of value is "Not started" in second array,the result shud be "In progress"
2)scenario 2
If all the value is "Approved" in second array(can have "Not Required" as a value),the result shud be "Complete"
Can somebody help in providing suggestions on how to code it?
I want to compare an array with another array which collects the values from a column in a webtable.
My basic doubt is how to kept the conditions while comparing them.
1) scenario 1:
If any of value is "Not started" in second array,the result shud be "In progress"
2)scenario 2
If all the value is "Approved" in second array(can have "Not Required" as a value),the result shud be "Complete"
Can somebody help in providing suggestions on how to code it?