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

Saving multiselect combobox populated with lookup

Hi,

I'm wondering if the Patch would be the only option when saving the Edit form with multiselect combo box populated with lookup field.

 

The list of employee credentials is maintained, and provided for a multiselecting on Employee form, which has as a data source Employee table. There is a one-to-many relationship Employee - > Credentials. 

 

The problem being is that when saving the Employee record with multiselected credentials I got an error message  - "Value must be a data entity record".

 

Seems to be the only option to patch all form data or to switch the Credentials list to an option set. I'm wondering if there is a a native configuration/property of combobox/form to not rewrite the update with Patch.

 

Thank you!

1 REPLY 1
BCLS776
Super User
Super User

Have a look at using the Concat function in this situation. You can create a string (with a separator) from the multiple selections from the combo box, so long as your column is OK with a string. Example:

Concat(ComboBox1.SelectedItems, Value, " , ")

Hope that helps,

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,445)