web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Azure SQL Database wit...
Power Apps
Unanswered

Azure SQL Database with "views"

(0) ShareShare
ReportReport
Posted on by 10

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?

 

Thanks!!! 

 

 

 

 

Categories:
  • timl Profile Picture
    37,424 Super User 2026 Season 2 on at

    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.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard