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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Creating a Cinema Reservation

Posted on by
I am making an app using PowerApps to reserved a seat, it is linked to a SharePoint List called "Reservation" which has 2 columns, "Seats" and "Status"

I'd like to be able to update the "Status" of multiple "Seats". In my App I have a ComboBox which items are the "Seats" and a Dropdown Box with the items "Free", "Occupied" and "Reserved"

the Columns "Seats" has a value of A1 to A10. I am getting an error when I use the Patch to update the "Status" column of the selected items in the ComboBox.

Here's my code for the Submit Button
 
ForAll(
    ComboBox2.SelectedItems,
    Patch(
        'Reservation',
        LookUp('Reservation', Seats = ThisRecord.Seats),
        {Status:Dropdown4.Selected.Value}
    )
);
Notify("Seats updated successfully!", NotificationType.Success)


I also tried the following code, no error however only the last item is being updated
ForAll(
    ComboBox2.SelectedItems,
    Patch(
        'Reservation',
        LookUp('Reservation', Title = ComboBox2.Selected.Value),
        {Status:Dropdown4.Selected.Value}
    )
);
Notify("Seats updated successfully!", NotificationType.Success)

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard

Featured topics