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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Subform using temporary tabl

(0) ShareShare
ReportReport
Posted on by 891

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

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator 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.

  • Nick Webb Profile Picture
    891 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]

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans