Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8064585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:24:51+00:00 2026-06-05T11:24:51+00:00

I am new to AX, so it could be a simple question. Imagine two

  • 0

I am new to AX, so it could be a simple question.

Imagine two tables Users and Groups in many-to-many relationship:

  • One user can belongs to many groups.
  • One group can belongs to many users.

So, I created 3 tables in AX, to represent this relationship:

  • User
  • Group
  • GroupUser (intermediate table used to create the many-to-many relationship with PKs from User and Group tables)

Now imagine I have a form with 2 grids.

Each grid has only one column not editable.
One grid with the Users list (with the User table defined as DataSource) and another with the Group list (with the Group table defined as DataSource).

Everything is displaying fine, but I would like to have the behaviour that when selecting a Group just appears the Users it belongs, and them I can select the user.

How to do this last part ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T11:24:53+00:00Added an answer on June 5, 2026 at 11:24 am

    Showing users belonging to a group involves using an exists join on the GroupUser table.

    It was not clear to me from your description, whether this was the case always or only when a group was selected.

    Make a new form datasource using GroupUser with JoinMode set ExistsJoin and linked to the User table.

    If only filtered when a group is selected, make the GroupUser datasource disabled:

    user_ds.query().dataSourceTable(tableNum(GroupUser)).enabled(<group is selected>);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Really simple question. I'm on Ubuntu 9.04 (I'm new to Ubuntu) and I can't
This may be a simple question, but I am new to PowerShell and could
I am new on this stuff and this could be a simple question, but
I am trying to make a simple program that could open a new activity
Sorry if this question is somewhat subjective. I am new to 'could store', 'distributed
This should be fairly simple question. I'm using DocX library to create new word
Hey this may be a somewhat simple question, but I'm new to Eclipse and
Simple question that would be fantastic if somebody could answer. I have a simple
This is probably a simple question for you JAVA experts, but I'm relatively new,
I am new starter android. I have simple question. When I choose date through

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.