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 / ComboBox creates new r...
Power Apps
Answered

ComboBox creates new record rather than update

(0) ShareShare
ReportReport
Posted on by 25

Hi 

I am fairly new to Powerapps so any help will be much appreciated.

I have the form below which creates a new project and I use the combo box to select multiple users and store them in the text field multiusers.

However when I create a new record all the other fields save as one record and the users then save as another. 

Fali324_0-1710327016671.png

 

The code in the combo box is:

Office365Users.SearchUser({searchTerm:cmb_SavePeople.SearchText})
and the save button is:
SubmitForm(Form2);
Patch('Project Details',{MultiUsers:Concat(cmb_SavePeople.SelectedItems,DisplayName, " ; ")});
Reset(cmb_SavePeople)
 
How can I get it to create one record and not two.
 
Thanks
Categories:
I have the same question (0)
  • Verified answer
    BhaskarDhone Profile Picture
    1,398 Super User 2026 Season 1 on at

    You code is supposed to create two records. Try below one.

     

    SubmitForm(Form2);
    Patch(
     'Project Details',
     LookUp('Project Details', ID = Form2.LastSubmit.ID),
     {
     MultiUsers: Concat(cmb_SavePeople.SelectedItems, DisplayName, " ; ")
     }
    );
    Reset(cmb_SavePeople);
  • FA-18030952-0 Profile Picture
    25 on at

    Hi
    Thank you that works!!
    I also have an edit button which selects the record from the gallery and allows the user to edit the form. How can I get the combobox to list the current user names and the option to add or delete users and then save?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 474

#1
Valantis Profile Picture

Valantis 474

#3
WarrenBelz Profile Picture

WarrenBelz 375 Most Valuable Professional

Last 30 days Overall leaderboard