I have two tables. One user table and one ID table. The ID table is fairly static. What i want to do is add a user to the user table and then automatically assign the first available ID from the the ID table. When a user is deleted from the user table, I want to clear the ID that the user is using and make it available for new users as they are entered in the system.
Some additional information. ID's must be assigned based on select criteria (groups). Each ID is assigned to a specific group. I don't think the criteria are the important part (but I could be wrong). What I'm not understanding is how to automate the assignment/update portion. Thanks in advance.