Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Edit Form Update Error network error when using patch function

(0) ShareShare
ReportReport
Posted on by 125

Hi Folks, 

 

I'm stuck with this problem for quite sometime. 😞 Basically I have an Edit form that enable the user to update a data. These data includes a Person Or Group column. I don't have problem inserting new data, but updating it produce an error "network error when using patch function" 

philifova_0-1670067546994.png

 

 

  • Verified answer
    cha_cha Profile Picture
    cha_cha 4,904 on at
    Re: Edit Form Update Error network error when using patch function

    Hello @philifova 

     

    Got it.

     

    What did you change when you said you are making an Update

     

    In your update code, I want to understand what happens to this field(DataCard103) if DataCard104/115 is not blank because even if you add the false condition, the form will still try to retrieve data from the preset ThisItem.aBCM.

    If(
     (DataCard104 is Blank) OR (Datacard115 is Blank), // <<--- Your Condition
     
     (DataCard103 Values) // <---- Use DataCard103 values
    
     [_____________ ] //Missing value, what happens to this field 
     //if DataCard104/Datacard115 is not blank?
    
    )

     

    Sorry for the many questions. I have thought of various codes to fix it but my codes might be farfetched to what you really need.

     

     

  • philifova Profile Picture
    philifova 125 on at
    Re: Edit Form Update Error network error when using patch function

    @cha_cha Yes, sure. Those 3 Datacards are Person/Group column in my SharePoint List. 

     

    The user only need to fill out 2 Datacards. So the last datacard will be visible false if the other two is being fill out.

     

    philifova_1-1670068994470.png

     

    philifova_3-1670069080168.png

     

     

     

     

  • cha_cha Profile Picture
    cha_cha 4,904 on at
    Re: Edit Form Update Error network error when using patch function

    Hello @philifova ,

     

    I think your Update Code is lacking. Do you mind sharing what your form looks like and identify on that the data cards for the following control:

     

    DataCardValue104, DataCardValue115 and DataCardValue103.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard