Hi i am inserting rows to databse. I have two fields called position and Machine_num . i want position as unique based on machine_num. for example Machine_num as dropdownlist. suppose machine_num has Sva_1,Sva_2,...etc. position can be 1 in Sva_1 and Sva_2...etc but not same number in same Machine_num. Can i have any sample code for this.
position Machine_num
........................ .............................
1 Sva_1
1 Sva_2
1 Sva_3
1 Sva_1(wrong)