I would like to validate a field in a form im developing to check the data base for a duplicate record.
Ive got fields ID, Name, Team.
I would like the Team field to check for an instance of the team already in the DB.
i.e.
Data in DB
ID Name Team
1 Joe bos
2 Jim nyy
I would like the script to check the Team field and if the record(team name) already exists out put an error.
Should i just set the Team field in the DB to be unique and forget coding this function?
-Dave
Ive got fields ID, Name, Team.
I would like the Team field to check for an instance of the team already in the DB.
i.e.
Data in DB
ID Name Team
1 Joe bos
2 Jim nyy
I would like the script to check the Team field and if the record(team name) already exists out put an error.
Should i just set the Team field in the DB to be unique and forget coding this function?
-Dave