i have created tabular form using SQL
here line_id is primary key .here i don't want to enter duplicate category code when i submit rows.
Here Allocation_id and service_id would be same for particular service_id .
How can i create validation to enter duplicate category code .
this thread may help to Prevent duplicate entries in tabular form