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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Issue Displaying LastS...
Power Apps
Unanswered

Issue Displaying LastSubmit()

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I currently am creating an application that allows a user to enter multiple values into an edit form and then submit it to an excel data source. I want to make it possible for a user who needs to make multiple entries to be able to keep majority of their information in the form between entries and not have to retype it in. I have been trying to use last submit to retrieve the repeated information, but nothing is displayed after submission and the command seems to be returning blank every time. 

 

sartz_1-1678808684731.png

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I currently am creating an application that allows a user to enter multiple values into an edit form and then submit it to an excel data source. I want to make it possible for a user who needs to make multiple entries to be able to keep majority of their information in the form between entries and not have to retype it in. I have been trying to use last submit to retrieve the repeated information, but nothing is displayed after submission and the command seems to be returning blank every time. 

     

    sartz_1-1678808684731.png

     

  • Anchov Profile Picture
    1,986 on at

    Likely your form is being reset when you re-initiate the form to new mode to allow the user to enter a new entry.  This will erase you last submitted data.  To resolve, try saving your LastSubmit to a variable as soon as the form is successfully saved.

    I usually do this in the OnSuccess property of your form.  Make sure you do this before any ResetForm, EditForm or NewForm functions are initiated.  The n, can refer to you Last Record by varLastSubmit.'Change Over'.

    Set(varLastSubmit, User.LastSubmit)

     

    Anchov_0-1678811868191.png

     

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!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard