• That's great news, thanks as1981.

    If I may be a little bold, I suggest being careful to include the table name when referencing a column (tabusrTelephoneTemp.StaffID instead of just StaffID) and avoiding old-style joins to make it easier for anyone who works with or inherits the code from you to understand the logic.

    Andrew P.