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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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