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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Linking a temporary table between two objects

(1) ShareShare
ReportReport
Posted on by 47
Hi everyone,
 
I'm working on a module where the first page is used to collect user inputs. Based on these inputs, we will generate lines. The second page should then display these generated lines in a repeater, reflecting the inputs provided on the first page.
 
However, I'm encountering an issue where the temporary table doesn't carry over to the second page. I've tried numerous approaches, including those suggested in the official documentation, but I can't seem to get it to work.
 
To illustrate my problem, I've created a demo. I've added debug messages to verify whether the data persists in the table upon opening the second page. For this demo, navigate to page 50108 and specify the number of records you want to create.
 
I hope you can help identify the issue/problem.
 
Kind regards,
Ries
TempTableDemo.al

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

  • Gerardo Rentería García Profile Picture
    27,623 Super User 2026 Season 2 on at
    Hi
    I hope this can help you and give you some hints.
    BR
    GR
  • YUN ZHU Profile Picture
    104,157 Super User 2026 Season 2 on at
    I think there is no problem with this, you just need to transfer your current "Rec" to the second page. It looks like your second page is not reinserting the data.
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Dev Richard Profile Picture
    47 on at
    Answer
    I found out with the debugging tool that when i use the runmodal, the data is not brought to the second page.
    I've tried another way to runmodal and with this way i saw that my rec variable was getting filled.
     
     
    Using the rec.variable i was able to use all of my data in the repeaters!
     
     
    Thanks allot everyone :D
    Ries

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 624 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 440 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 244 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans