Dear friends,

I have 10 text items in a block. User enters a document no. viz from 1-24 (any 10 at a time or even less that 10, but atleast one doc.no.). The problem is, if the user enters 1 or 2 or 3, etc, he should not enter the same no. in other 9 text items. That is the primary key is both the emp_no and the doc.no.

I can do this using IF condition, but for the 10th text_item, I should use the IF conditions more thn 8 times. So is there any other method to achive this. If the text_item are more than 50 , I can keep checking using IF condition. How to do this.

advance thanks for the help.

(Dinesh)