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 703

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 703 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 995 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,234 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,994 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans