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 / Bug DataCard control a...
Power Apps
Unanswered

Bug DataCard control after submitting a form

(0) ShareShare
ReportReport
Posted on by 6

Hello,

 

I have a form with different fields including one which is an ID in my SharePoint list.

 

This field cannot be modified by the user so it is automatically displayed on screen with this formula : Last(Devis).Num_devis+1

  • Devis is my datasource
  • Num_devis is the name of the field (Example : 500)

Everything works fine when filling and submitting form. There is variable varLastDevis initialized with Form.LastSubmit.

After submit is successful, I am switching the form to ViewMode so the user can possibly view/edit his data before going to next step.

 

However, just after submitting/switching to ViewMode, Num_devis takes +1 (Num_devis = 501) like it is a new form despite my variable and my formula :

 

 

If(
 IsBlank(varLastDevis.Num_devis);
 Last(Devis).Num_devis + 1;
 varLastDevis.Num_devis
)

 

 

 

Worst part is here : when I go to the formula, it shows that varLastDevis is not null (Num_devis = 500). If I type one space then delete it, the correct expected value eventually calculates correctly (501 turns into 500).

 

I have tried to reset form, control : nothing works.

 

Thank you guys 🙂

Categories:
I have the same question (0)
  • rnaceur Profile Picture
    6 on at

    No one has ever met this problem before ? Let me know if you need me to attach few screenshots about this.

  • rnaceur Profile Picture
    6 on at

    Bump

  • rnaceur Profile Picture
    6 on at

    Bump

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#2
11manish Profile Picture

11manish 212

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard