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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch Causes App to Crash
Power Apps
Unanswered

Patch Causes App to Crash

(0) ShareShare
ReportReport
Posted on by 76
I have records in a grid format in a gallery.  When I make changes and submit the App crashes due to memory.  It used to work OK although slow, now it's crashing
 
every time.  There are now about 100 records.  There more columns in the data source, but I only have 5 columns shown in the grid that need to be updated. 
 
It crashes on any device I use -iPhone, laptop, or iPad.  
 
Each field's OnChange is set to Select(Parent)
 
  The code on the OnSelect property of the Gallery is:
Patch(GridData,ThisItem, {LocationConcat:LocationText.Text,
DateClosed:DateClosedValue_1.SelectedDate,Status:DataCardValue16_2.Selected,
Reason:ReasonValue.Text, Time:TimeDD_1.Selected})
 
 

The Patch Code on the Submit button is 
If(
    varGridEdit,
            Patch(
          
            BCP,
            GridData
        ); Remove(BCP,colDelete);
        Notify(
            "BCP Data Updated",
            NotificationType.Success,
            3000
        );
        Clear(colDelete);
        Select(BTNLoadBCPData);
        
    ) ;
   Set(
            varGridEdit,
            !varGridEdit);
 
How can I fix this? 
Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard