Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Error with Patch() function

(0) ShareShare
ReportReport
Posted on by

Hi Sirs, I'm on this problem since 2 days, I don't understand for why I can't Submit my Form, each submit form make me this error while 2 days it worked very well...I haven't changed anything...

can you tell me what to check to fix this problem ? 

thank you very much to whoever takes the time to help me 🙏

 

Here my error message : 

ProtoSup_0-1689747057182.png

 

  • ProtoSup Profile Picture
    on at
    Re: Error with Patch() function

    ProtoSup_0-1690284634880.png

     

  • ProtoSup Profile Picture
    on at
    Re: Error with Patch() function

    hi ! @v-xiaochen-msft 

    I'm testing this manipulation to display another error with more informations , but, it don't works ... I don't understand why ... You know ? 

    ProtoSup_0-1690189412557.png

     



    Thanks ...

  • ProtoSup Profile Picture
    on at
    Re: Error with Patch() function

    ok thanks you two, it works good ! Have a nice day 

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: Error with Patch() function

    Hi @ProtoSup ,

     

    The type of this column is determined by the database.

    If you want to save the number 100 instead of the string 100, please first change the text column  to a number column in the database.

    What's your database? SharePoint list? Dataverse?

     

    Best Regards,

    Wearsky

  • Verified answer
    SanshubhLubal Profile Picture
    509 on at
    Re: Error with Patch() function

    What is column Type of Prix and Database?

  • ProtoSup Profile Picture
    on at
    Re: Error with Patch() function

    ok thanks, i change it, now it detecte the value but i think it's not the good type, how to modify in Integer ? 

    Thanks 

    ProtoSup_0-1689751337092.png

     

  • v-xiaochen-msft Profile Picture
    on at
    Re: Error with Patch() function

    Hi @ProtoSup ,

     

    Which one control is called 'DataCardValue10' in your screen?

    vxiaochenmsft_0-1689750887727.png

     

    Besides, remove the Value function in update formula.

    vxiaochenmsft_1-1689750940826.png

     

    Best Regards,

    Wearsky

  • ProtoSup Profile Picture
    on at
    Re: Error with Patch() function

    @v-xiaochen-msft 

    That !? 

    ProtoSup_0-1689750504628.png

    Thanks again 

  • v-xiaochen-msft Profile Picture
    on at
    Re: Error with Patch() function

    Hi @ProtoSup ,

     

    Thanks, please share the formula of Update property of the datacard control.

    vxiaochenmsft_0-1689750266097.png

     

    Best Regards,

    Wearsky

  • ProtoSup Profile Picture
    on at
    Re: Error with Patch() function

    @v-xiaochen-msft 
    I don't understand, why the error said me value for field 'Prix' = 2.5, we can see the value = 100 ... thank you for thid start, we can see better the error ...

    ProtoSup_0-1689750048892.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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard