cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ArturasF
Helper I
Helper I

Reference a table with text value

I have many tables (sp lists). I need for user to choose a table variable. Drivers_Alabama, Drivers_Ohio etc

User selects from drop down a text input Drivers_Alabama or Drivers_Ohio etc.

 

And then in next drop I need to use this text value as a table name, so it would be dependant on that.

 

I can use TableName as table value, but how to convert text input or inputs to table name? For example strings "Table" & "Name" should convert to TableName table.

3 REPLIES 3
Drrickryp
Super User
Super User

@ArturasF 

Why don't you have one table with a field for State?

Thank You for response. It is a hypotetical scenario, constructed in order to understand a problem. 

@ArturasF 

How does this look?  The first dropdown creates a list of table names.  The second dropdown uses the selected table as the Items property after converting the selected text from the first dropdown to the actual datasource. _Screenshot 2020-12-13 121022.png

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, 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!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

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