Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Azure SQL Database with "views"

Hello - I have an SQL table with information about customers - with includes the countrycode.


I have a separate table with the countrycode and countryname.


In an SQL view I can show the customer name and the countryname.


We use PowerApps to add / amend data on customer and we have created the usual three frames for Browsing / Details / Editing.


The Browse and Details gallery are linked to the SQL view - while the Editing gallery is linked to the customer table.

We have issues once we wish to the submit(form) on the Editing frame.

My questions: do all 3 frames have to use the same data source?







Super User III
Super User III

Hi @Michel


You should be able to make this work.

In addition to setting the data source of your edit form to the Customer table, the other thing to do is to set the Item property of your edit form so that it refers to the correct record from the customer table.

To do this, you'd use the Lookup function. The syntax would look something like this:

LookUp('[dbo].[Customer], CustomerID=BrowseGallery1.Selected.CustomerID)

If the SubmitForm function still generates errors, feel free to post the error messages here.


Helpful resources

News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,946)