![]() |
romaldus 5/10/2017 |
Thanks in Advance to all PHPrunner Team i would like to know how to prevent Duplicates in multi fields validation i a have a table named Doc_Management and the records [Date] [Registeration_No] [Trans_No] i want to prevent to add the same ([Registeration_No] and [Trans_No]) in the same year but it cans in anther years
|
M
|
maaroufkamel author 5/11/2017 |
In your database, create unique index
|
H
|
headingwest 5/11/2017 |
Can you add another column to your table "trans_year"? Then populate it on insert, then have a unique index. |
M
|
maaroufkamel author 5/13/2017 |
Can you add another column to your table "trans_year"? Then populate it on insert, then have a unique index.
|