Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Subform using temporary tabl

Posted on by 668

I've created a BC page and ListPart / Subform that are intended to become a dialog to get info from the user. I want to prime some fields with initial values. I'm using temporary tables for both the main page and the subform. I've created a procedure in both the main page and the subform called SetValues where I pass in the data. I pass the data for both the main page and the subform to the SetValues in the main page which then passes it on to the SetValues in the subform. All passed by 'var'. Is this the correct approach? At the moment I'm expecting to see 3 lines showing in the table at the bottom of the page but I'm only seeing one of them. I've debugged into the SetValues of the subform and the record count is 3. Why am I only seeing 1 of the 3 lines passed in?

3644.anydesk00177.png

  • Nick Webb Profile Picture
    Nick Webb 668 on at
    RE: Subform using temporary tabl

    Please see attached code:-

    [View:/cfs-file/__key/communityserver-discussions-components-files/758/cod50101InHouseEmailer.al:320:240][View:/cfs-file/__key/communityserver-discussions-components-files/758/Pag50101MultiAttEmailDialog.al:320:240][View:/cfs-file/__key/communityserver-discussions-components-files/758/Pag50102MultiAttEmailDialogSubform.al:320:240]

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,746 Super User 2024 Season 1 on at
    RE: Subform using temporary tabl

    Unless you share more of your actual code i think it is hard to help you further on this.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans