DB_Noob Posted June 11, 2008 Posted June 11, 2008 (edited) Hello, I'm trying to add to the functionality of this database so I'm working with pre-existing tables and trying to figure out the best way to do this. Simplified: 2 Tables: TASKS and USERS TASK_ID is unique and is realted to USERS. (one to many) Multiple users can be assigned to a single TASKS. However, right now there is a calculation field, CURRENT_USER (Last(USER::USER_ID)) within TASKS that pulls up the most current USER from the USERS table that has been assigned with the particular TASK_ID. And only this person can access that TASK_ID. Is it possible to make this CURRENT_USER calculation to result in something like: USER_ID 1, USER_ID 2, and all users that have that particular TASK_ID? This way, whatever is looking for the CURRENT_USER to allow access will see multiple and allow all of them access. Thanks and if you need more clarification, or if this is confusing, let me know. Thanks!!! Edited June 11, 2008 by Guest
DB_Noob Posted June 11, 2008 Author Posted June 11, 2008 That is so simple...I'll try it out and see how it works. Now off the top of my head, would that only list the related UserID or all of them in the table? Thanks again though for that function. I'm sure I can get it to work.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now