Validation

  • Thread starter Thread starter Red2003XLT
  • Start date Start date
R

Red2003XLT

Hello,

Heres my problem

Task table with mulitple assignees. One to many relationship.

How do keep from assigning the person ("the assignee") to the same task?

Thought about using some sort of looping structure however I'm very open to
ideas.
 
Just enforce a Unique key on the two fields (your task ID/name and the
assignee ID/name). That will then ensure that you cannot have:

Task1 Assignee1
Task1 Assignee2
Task1 Assignee2 *** this one would be kicked out


Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top