Can understand why this doesn't work.
I have a list box named "Players". I select one of the players from the list and click button "1", which should set the player's name as Variable1 so I can put it in a specific text box. The formula I used for button 1 to create the variable was:
OnSelect = set(Variable1, Players.SelectedItems)
I didn't get an error message with that formula but when I set my text box to:
Text = Variable1
I get the error message: The property expects text values, but this rule produces incompatible Table values.
I don't get it.
Solved! Go to Solution.
Well I'm not sure what I messed up on the original but I reproduced from scratch on a test page and it works perfectly. Thanks so much for your help!
Is there a simple way (or a Community page you can direct me to) where I can learn to now remove that selected item from the "Players" collection so it cannot be selected again?
Again - thanks for solving this!
Glad I could help.
When you edit an app top right corner there is a question mark. (?)
Press it and select Documentation.
In the search bar, type remove and click enter 🙂
You can use the remove function, in order to remove a record from the collection "Players".
Of course hughrmarks.
Please let me know if you need anything else. 🙂
You can also check this:
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Check out the Power Apps Community Call for January 2021
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!