Is there a easy way to validate that a row does not get duplicated. I have more that one data entry person and if they enter the same data twice I want to check for this. I do have a date colunm I can use if this will help.
The easiest way to handle this is to set up a Primary key or Unique Index on the table. This insures the records are unique for the columns in the Key or Index. Access will then prevent duplicate entries and extra coding is not needd. Terry L. Broadbent - DBA
Computing Links:
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions in the SQL Server forum. Many of the ideas apply to all forums.
Establish just what combination of fields (or a single field) constitutes duplication. That might be SSN, or {last name and phone}, or whatever. Then set an index on such, with NO duplicates permitted, on the table. -------
"What is your favourite colour?" "Blue! No! Yell"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.