cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jhogan21
Regular Visitor

Update collection

I am looking for some help regarding collections. I am new to this and trying the self taught thing and, well, it is kicking my butt.

 

Is it possible to update a collection from multiple text inputs across mutiple screens?

 

I have 12 text input boxes spread over 3 screens. I would like to have info entered into each box and then update a collection with the info. I am currently using a button on each screen the updates the collection and navigates to the next screen. The issue is that each screen is placing the information into a new row rather than the same row as the previous info.

 

Is there a way to get all the information into one neat row? Eventually I will be expanding the app to 8-9 screens and dont want 9 rows of data for one entry.

 

Example:

Screen1: Textinpt1, Textinpt2, Textinpt3

Screen 2: Textinpt4, Textipt5, Textinpt6

Collection name: Testing

Column Names: Col1, Col2, Col3, Col4, Col5, Col6 (Fancy, I know)

 

I would like to have info from screen1 and 2 in a single row.

Any sugestions or alternate methods would be much appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
CarlosFigueira
Power Apps
Power Apps

There are a couple of options on how you can go about this scenario:

  1. You don't add any items to the collection until the last screen; at that point you can add a single record getting the values from all the text input controls from the different screens
  2. In the first screen you add one "incomplete" record to the collection; in each subsequent screen you keep updating that record, until the last screen, where you can then mark the record as "complete"

The attached app shows an example similar to your scenario. To open it, save it locally, then go to https://create.powerapps.com, select Open -> Browse, and find the file that you saved.

Hope this helps!

View solution in original post

4 REPLIES 4
CarlosFigueira
Power Apps
Power Apps

There are a couple of options on how you can go about this scenario:

  1. You don't add any items to the collection until the last screen; at that point you can add a single record getting the values from all the text input controls from the different screens
  2. In the first screen you add one "incomplete" record to the collection; in each subsequent screen you keep updating that record, until the last screen, where you can then mark the record as "complete"

The attached app shows an example similar to your scenario. To open it, save it locally, then go to https://create.powerapps.com, select Open -> Browse, and find the file that you saved.

Hope this helps!

View solution in original post

Thanks for the reply Carlos! I looked at the app you sent and it looks like I can borrow an idea or two from it. I like your first suggested option of updating after the final screen.

 

Can you clarify for me the ID variable you set.  I apologize for the ignorance but I am unfamiiar with the GUID reference. What does this variable represent or call on?

The ID variable is a way for the next pages to be able to find the current record. A GUID is a unique identifier - that function will return a value that is unique each time.

You are awesome sir! You have just opened a few doors of possibility for me!

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

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,990)