G
Guest
How do I accomplish the following:
I would like to learn how to check if a name has been selected more than one
time on a given day (since 1 person can be 2 places at the same time). I am
assuming I will have to build an event in BeforeUpdate of cboEmployee, but I
am not good at SQL.
This is my psuedo-SQL:
Select * from tblDatesAssigned
Where (the employee does not have a record with the same date as the current
record)
Table Structure:
tblDates.Date (PK) is linked to tblDatesAssigned.Date (FK), and
tblDatesAssigned.EmployeeID(FK) is linked to tblEmployee.EmployeeID (PK)
Thanks in advance!
I would like to learn how to check if a name has been selected more than one
time on a given day (since 1 person can be 2 places at the same time). I am
assuming I will have to build an event in BeforeUpdate of cboEmployee, but I
am not good at SQL.
This is my psuedo-SQL:
Select * from tblDatesAssigned
Where (the employee does not have a record with the same date as the current
record)
Table Structure:
tblDates.Date (PK) is linked to tblDatesAssigned.Date (FK), and
tblDatesAssigned.EmployeeID(FK) is linked to tblEmployee.EmployeeID (PK)
Thanks in advance!