cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SharePointAU
Advocate II
Advocate II

How to Autofill a table based on a Text Input that triggers a SQL Query

I have form that needs to take a value via Text Input (autocomplete if possible), and auto fills other fields in the form based on a SQL query. The query joins several tables to get the data. Is that possible, and if not how should I go about collecting that data to use?

1 ACCEPTED SOLUTION

Accepted Solutions

Thank you for your response. I am not asking how to see the View. I literally meant to use a SQL Query. 

However, I have since figured this out that where I have trouble "joining" tables, i can simply lookup the keys and hide them on the page to use in Lookups for the remaining data. 

 

I now have a solution that allows me to enter a number in a text field, and auto populate other fields in my form based on SQL Data from several tables.

View solution in original post

2 REPLIES 2
v-micsh-msft
Community Support
Community Support

Hi @SharePointAU,

 

If the SQL Query here means the View, then currently this is not available.

There is an idea submitted on this already:

PowerApps must also see SQL Azure Queries, not only Tables

 

PowerApps by now could only work with the actual data table,  if you would like to use the data from Multiple tables, then you need to add all the related tables as data source in PowerApps.

After that, take use of the filter or Lookup function to find the proper data.

Filter, Search, and LookUp function in PowerApps

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you for your response. I am not asking how to see the View. I literally meant to use a SQL Query. 

However, I have since figured this out that where I have trouble "joining" tables, i can simply lookup the keys and hide them on the page to use in Lookups for the remaining data. 

 

I now have a solution that allows me to enter a number in a text field, and auto populate other fields in my form based on SQL Data from several tables.

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

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (37,890)