Skip to main content
Business Central forum
Suggested answer

Subform using temporary tabl

editSubscribe (0) ShareShare
ReportReport
Posted on by 614

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

Categories:
  • Nick Webb Profile Picture
    Nick Webb 614 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,714 Super User 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.

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,030 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,562 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans