cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CoStratify
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
CoStratify
Frequent Visitor

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
CoStratify
Frequent Visitor

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)

 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (2,075)