Skip to main content

Notifications

Announcements

No record found.

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

Subform using temporary tabl

(0) ShareShare
ReportReport
Posted on by 701

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 701 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 993 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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans