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)

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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