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 / Write Back to SQL - De...
Power Apps
Answered

Write Back to SQL - Default screens

(0) ShareShare
ReportReport
Posted on by 11

I have created app using Excel , I see 3 screens created Browse Screen, Details Screen and Edit Screen.

Similarly when i created with SharePoint, i can see all the 3 screens, but when created with SQL table, i see only only Browse screen and Details Screen. I have installed on premises gateway to connect with SQL. is it expected behavior. I tried edit screen, but didn't work .  How do I get the edit screen by default. Am is missing anything? Should I get a premium connector for this ?

Categories:
  • eka24 Profile Picture
    20,925 on at

    Two option:
    1. Insert a button on one of the Screens (detail or Browse), the put EditForm(YourFormName). When you click, it should turn it  to edit. To go back, Use:
        NewForm(YourFormName) ---New entries or
       ViewForm(YourFormName) --for view

     

     OR

     

    2. For default Edit form. Duplicate one of the screens. Select the form and on the Defaultmode property change it to edit:
    edit.JPG

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Verified answer
    timl Profile Picture
    37,424 Super User 2026 Season 2 on at

    Hi @satyakanth 

    This typically happens when you don't have a primary key on your table.

    Can you confirm that you have a primary key defined on your table?

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Performing-CRUD-with-a-SQL-DB/td-p/417323 

  • satyakanth Profile Picture
    11 on at

    Adding Primary Key helped me 

    you made my day

  • satyakanth Profile Picture
    11 on at

    Created a column in the table and made it as primary key and it worked

    Thanks for the solution

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 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard