cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted

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
Highlighted
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.
Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (16,209)