cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jja
Post Prodigy
Post Prodigy

Referencing 2 comboboxes

Hi

In app i have 2 screens

In my sreen2 i have comobox2 that i want to reference to the mainscreen combobox1

in other words what is selected in combobox1 gets automaticaly selected in comobox2

how do i do that?

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@jja 

You can reference your controls from any screen in your app.

The only concern you will have is matching the item record schema in your second combobox to the record of the first combobox so that you can use it in your DefaultSelectedItems property of the second combobox.

If the schemas are the same, then your DefaultSelectedItems property on the second combobox should only need to be: Combobox1.Selected

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

1 REPLY 1
RandyHayes
Super User
Super User

@jja 

You can reference your controls from any screen in your app.

The only concern you will have is matching the item record schema in your second combobox to the record of the first combobox so that you can use it in your DefaultSelectedItems property of the second combobox.

If the schemas are the same, then your DefaultSelectedItems property on the second combobox should only need to be: Combobox1.Selected

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

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.

Users online (2,323)