Skip to main content

Notifications

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.

  • Dev Richard Profile Picture
    47 on at
    Linking my temporary table from a first page to a second page
    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
  • YUN ZHU Profile Picture
    84,274 Super User 2025 Season 1 on at
    Linking my temporary table from a first page to a second page
    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
  • Gerardo Rentería García Profile Picture
    19,644 Most Valuable Professional on at
    Linking my temporary table from a first page to a second page
    Hi
    I hope this can help you and give you some hints.
    BR
    GR

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans