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 Platform Community / Forums / Power Apps / Unable to patch collec...
Power Apps
Unanswered

Unable to patch collection with combobox value in gallery

(0) ShareShare
ReportReport
Posted on by 14
I would like to patch my collection with values from gallery. However, I have problem with patching values from comboxes in gallery. Usually, There is "Selected.Value" option to choose but it's not available. In this particular case the column I want to update is Currency. Any idea what I am doing wrong? 
ForAll(
    galCartItems.AllItems,
    Patch(
    colShoppingCart,
    ThisRecord,
    {Cart_GUID: CartGuidDcValue.Text},
    {Info_Buyer_Supplier: txtNotes.Text},
    {Part_Number: txtPart.Text},
    {Currency: cmbCurrency.Selected},
    {Quantity: Value(txtQty.Text)},
    {Unit_Price: Value(txtPrice.Text)},
    {SC_no: txtSC_no.Text},
    {POSTO_no: txtPOSTO_no.Text},
    {Buyer_Planner_Add: txtBuyerPlanner.Text},
    {
        Total_Price: RoundDown(
            Value(txtQty.Text) * Value(Value(txtPrice.Text)),
            2
        )
    },
    {Id: Value(lblOrderId.Text)},
    {Charge_Account_Number: txtChargeAccountNo.Text},
    {PR_Number: txtPOSTO_no.Text},
    {PO_Number: txtPoNumber.Text},
    {Committed_Delivery_Date: dpComDelDate.SelectedDate},
    {Vendor_Tracking_Information: txtVendorTrackingInfo.Text},
    {GL_Account: txtGlAccount.Text},
    {Notes: txtNotes.Text}
)
 
 
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard