I have a scheduling database and would like to develop a pop-up warning whenever there is an attempt to schedule two peole to work the same shift.
I have a table with a field called ROSTERID, SCHEDULEID and a field called PATTERN. There can be many SCHEDULEIDs for each ROSTERID. There is only one SCHEDULEID for each PATTERN.
I want the database to locate and warn of any duplicates in PATTERN that is linked to a specific ROSTERID.
I use the dlookup function to find and and warn of duplicate PATTERNS but it warns of ALL duplicate PATTERNS regardless of the ROSTERID. How can I make it specific to only hte ROSTERID?
I have a table with a field called ROSTERID, SCHEDULEID and a field called PATTERN. There can be many SCHEDULEIDs for each ROSTERID. There is only one SCHEDULEID for each PATTERN.
I want the database to locate and warn of any duplicates in PATTERN that is linked to a specific ROSTERID.
I use the dlookup function to find and and warn of duplicate PATTERNS but it warns of ALL duplicate PATTERNS regardless of the ROSTERID. How can I make it specific to only hte ROSTERID?