I have written a module pool program. I have provided a drop down list say field name is 'Name'.
and the first column is ID.
if id occurs for four consecutive times then and if i am selecting names for the same id i.e. for 1 then it sould allow to select from drop down list.
if i am selecting names again in second row for the same id i.e. 1 then it sould not allow to select from drop down list.
if am selecting different than previous name for same id then it should aloow to change.
1 " FOR SECOND ROW IT SHOULD NOT ALLOW TO SELECT
2 ABC if i want to change this, then it should aloow me to change
Your response will be highly appreciated.