cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
andrewlevans
Helper I
Helper I

How to have save more than one record?

Hey everyone!

 

Having some issues trying to get more than one record to update in my powerapp.

 

I have a gallery, which contains two entries (A & B).

andrewlevans_0-1615221205198.png

Additionally, I also have a save button, which moves through different screens.

andrewlevans_1-1615221278686.png

The issues is that when I get to the screen. My save button is only saving the item that I have clicked on (A or B), but I want it to save A & B.

Here you can see I entered 20, and it saves both A and B, as the value entered for A.

andrewlevans_3-1615221384341.png

If I am currently on row B, and then hit save. It updates both as row B

andrewlevans_4-1615221446154.png

andrewlevans_5-1615221472907.png

What I would like, is to enter 20 for Row A, 0 for row B, and have it saved and shown as 20 for Row A, and 0 for Row B.

 

Does anyone have any insight into why this is happening, or how to fix it?

 

I originally had this app on one screen, and it worked okay but I had to redesign it this way due to tabbing issues.

 

Thanks all!

 

A

 

 

 

 

2 REPLIES 2
ganeshsanap
Super User
Super User

@andrewlevans Are these textbox controls inside gallery control?

 

What is the formula you are using on OnSelect property of Save button? Can you please share the formula? It will b easier for us to answer your question more precisely by looking at current formula you are using.


Please click Accept as solution & ‌‌👍 if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it ‌‌👍

Re: Ho to access Mobile device information in Canvas app 

@ganeshsanap 

 

I'm using something similar to this.

 

Screen 1:

1.5 Mile Shuttle Run

5

4

 

Screen Two

1.5 Mile Shuttle Run

5

5 (but want 4)

 

Interestingly enough, I can select the first row, but not the second (as it's in the gallery). Does my on select have to be the gallery?

 

Patch(
'Job Applications',
lstApplications.Selected,
{
Run: Value(txtAerobicScore.Text)
}
)

 

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (96,281)