L
ladybug via AccessMonster.com
I have a table with four fields:
SupervisorID
EmployeeID
StartDate
EndDate
I want to set it where an employee can have multiple entries (supervisors),
but can only have one entry without an end date. I have a form that looks
like the example below. Can someone give me a code that I could use in a
before update so that this will work?
For example:
SupervisorID EmployeeID StartDate EndDate
Adams1 Smith1 06/01/07 07/01/07
Miller1 Smith1 07/02/07
08/01/07
Thompson1 Smith1 08/02/07
SupervisorID
EmployeeID
StartDate
EndDate
I want to set it where an employee can have multiple entries (supervisors),
but can only have one entry without an end date. I have a form that looks
like the example below. Can someone give me a code that I could use in a
before update so that this will work?
For example:
SupervisorID EmployeeID StartDate EndDate
Adams1 Smith1 06/01/07 07/01/07
Miller1 Smith1 07/02/07
08/01/07
Thompson1 Smith1 08/02/07