web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Multi-select records in form grid

(0) ShareShare
ReportReport
Posted on by

Hello all,

I have a customer who wants to be able to select either single or multiple records from the TvrExpTable form and then have only the receipts related to these displayed in the DocuView form. 

I have selected the item menu and button to allow multi select. This does not work. I have looked into coding the multi-select using the clicked() override method and the use of the multi select helper class. However, I just can't seem to get it to work. It is also complicated by the fact that the init method and query methods are rather complex in the DocuView form. 

Has anyone had any experience with adding this type of functionality to this form or would know how it could be done?

Any assistance would be appreciated.

Thanks,

Steve

*This post is locked for comments

I have the same question (0)
  • Verified answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    Normally such interaction between forms is based on 1-n relation. You want to have a n-n relation. You can achieve this, but it requires some coding. The standard, relation based data source filtering can't handle this.

    You must gather all the selected records with MultiSelectionHelper, pass them with the args to the another form, and in the other form add all those records (or the relation key field, actually) one by one as a range to the query of the data source.

  • Community Member Profile Picture
    on at

    Thank you Nikolaos. You've given me a good direction to head in. I'll try this way and see the outcome.

    Steve

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans