D
DaveH
Hi,
I have 3 linked tables: Departments - Team Managers - Agents. Agents are
assigned to a Team Manager, Team Managers are assigned to a Department.
The problem I have is that if a Team Manager changes department their
associated agents will not necessarily go with them.
The ideal solution would be to check if a team manager has any related
records in the Agents table when the user attempts to change their department.
e.g. a message appears saying "Joe Blogs currently has 10 agents, do you
wish to assign them to a different manager before linking Joe to a new
Department?"
Any suggestions would be greatly appreciated.
Many thanks
I have 3 linked tables: Departments - Team Managers - Agents. Agents are
assigned to a Team Manager, Team Managers are assigned to a Department.
The problem I have is that if a Team Manager changes department their
associated agents will not necessarily go with them.
The ideal solution would be to check if a team manager has any related
records in the Agents table when the user attempts to change their department.
e.g. a message appears saying "Joe Blogs currently has 10 agents, do you
wish to assign them to a different manager before linking Joe to a new
Department?"
Any suggestions would be greatly appreciated.
Many thanks