Jump to content

Possible to make calculatoin return many multiple results?


This topic is 5770 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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 by Guest
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 5770 days old. Please don't post here. Open a new topic instead.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.