cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DessiBroughton
Frequent Visitor

Modify and add columns to a single record in a collection

Hi there,

 

I'm hitting a syntax wall. 

 

I have an app designed for a sports database. 

 

1. The collection starts with capturing basic game information (date, time, opposition etc). 

2. The collection is then displayed in a gallery.

3. Using Patch, I can then modify and save/update the existing records/columns selected. My attached image highlights these records in the green box.

 

3. Now I want to add more columns to the selected record (orange box in the attached image).  

 

How do I do this? 

 

ClearCollect? 

1 REPLY 1
Pstork1
Dual Super User III
Dual Super User III

You can't add columns to an individual record in a collection.  You can add columns to the collection itself.  But it looks like what you are really doing is creating a Parent/Child relationship between records in two different collections.  Like any database you can do that by creating the columns in a second collection and making sure that one column in the second collection uniquely identifies the record in the first collection that the record in the second collection belongs to.  To do that I would add some kind of ID column to the first collection and then use the id of the record in a column in the second collection.  Then you can create two galleries/forms.  The second gallery will be populated with records where the ID is equal to the ID displayed in the first form, or selected in the first gallery.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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
Users online (1,904)