Jump to content
Sign in to follow this  
DB_Noob

Possible to make calculatoin return many multiple results?

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

Share this post


Link to post
Share on other sites

List ( UserID )

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

It would list all the related UserIDs.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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