cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JMpm
New Member

Combo Box multiple selections not saving values to Azure SQL Table

I am trying to get multiple selections in a combo box to save to my Azure SQL Data table and have had no luck so far. Only the most recent selection of the two items selected will save. Is there any way to allow multiple selections to save? 

 

Here are my AllowedValues: DataSourceInfo('[dbo].[tblFailure]', DataSourceInfo.AllowedValues, "failure")

And Update: ComboBox2.Selected.failure

 

Thank you in advance for any help!

1 ACCEPTED SOLUTION

Accepted Solutions
Meneghino
Community Champion
Community Champion

Please have a look here on the approach needed for SQL:

https://baizini-it.com/blog/index.php/2017/10/10/powerapps-101-many-to-many-relationships-between-ta...

 

Please comment on the blog or let me know if anything is unclear

View solution in original post

5 REPLIES 5
Drrickryp
Super User II
Super User II

Hi @JMpm

I have never used a multiselect combobox to save to Sql but there was a blog post about saving multiple selections from a combobox to an Excel spreadsheet.  It might give you a place to start.  https://powerusers.microsoft.com/t5/PowerApps-Community-Blog/PowerApps-Get-and-save-multiple-selecti...   Maybe @darogael or @Meneghino can give you some insight.  Good luck

mokhawaja
Kudo Collector
Kudo Collector

Hi, I think SQL doesn't support saving multiple values!

That's what it seems like, I haven't found a post yet where someone using SQL has successfully made a multiple selection save.

Meneghino
Community Champion
Community Champion

Please have a look here on the approach needed for SQL:

https://baizini-it.com/blog/index.php/2017/10/10/powerapps-101-many-to-many-relationships-between-ta...

 

Please comment on the blog or let me know if anything is unclear

View solution in original post

Teaners26
Helper I
Helper I

Has anyone found the solution for this with Sharepoint?  Mine also only saves the most recent value.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (22,257)