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
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

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

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 (40,842)