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

Notifications

Announcements

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:
I have the same question (0)
  • eka24 Profile Picture
    20,923 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
    36,415 Super User 2025 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard