Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Best practices for joining tables in form

Posted on by 87

Hello,

I have three tables: TableA, TableB and TableC.

The current relation is:

TableA <---> TableB <---> TableC

I am currently working on a form to do some filtering. This form is based on records from TableA and TableC. Table A and Table C has a common field, so it's easy to make a relation.

The thing is, both tables have a relation with Table B and this TableB is a big one, so i don't wanna load it on the form, mainly because i don't think it is necessary.

¿Would be a good practice to make an AOT relation between TableA and TableC to use them both as a datasources on the new form? Or it is redundant.

Another way is to create the relation on the init method in the FormDataSource  (addDataSource, addLink, etc..) 

What do you think? I am in a constant search between redundancy, performance and standardization.

Thanks.

  • francesco.sch Profile Picture
    francesco.sch 55 on at
    RE: Best practices for joining tables in form

    Could be an option for you to create a view in which you have table A and C and then use dynalink in form with table B? I don't know how much standard it is but could be a good solution in performance terms.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans