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

If SQL cell has value, default selected item in combobox equals the value in that row

Sorry my subject isn't very clear. 

 

To be a bit more clear...

I have a combo box that is looking up the AppName from a SQL table. The idea of selecting the AppName is that it will write that App's AppID to the column dependant on what has been selected.

 

The area I would appreciate help with is... I want the Combobox's defaultSelectedItem to show if the row already has an AppID assigned and therefore automatically shows the related AppName on the combobox. 

 

Please could you advise what I need to put in the DefaultSelectedItem box it would be greatly appreciated, as I'm truly stuck haha!

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: If SQL cell has value, default selected item in combobox equals the value in that row

I think I've worked it out by using a dropdown instead of a combobox.

I have put the following in the default section.

LookUp('Datasource', ThisItem.AppID = AppID, AppName)

 

View solution in original post

1 REPLY 1
Highlighted
Frequent Visitor

Re: If SQL cell has value, default selected item in combobox equals the value in that row

I think I've worked it out by using a dropdown instead of a combobox.

I have put the following in the default section.

LookUp('Datasource', ThisItem.AppID = AppID, AppName)

 

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (2,869)