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 / SQL connection cards o...
Power Apps
Unanswered

SQL connection cards only Labels

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I am connecting to a database, when i connect to one table after inserting a new form the fields are displayed as;

Andy_M1_0-1633522594662.png

and it allows me to update the row in the DB which is what I need.

 

The other table the fields are;

Andy_M1_1-1633522796168.png

I cant seem to change these fields to be the same as above, could not find anything different in the DB it affects all the fields in this table.

Both tables are in the same DB

Categories:
I have the same question (0)
  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous

     

    If the StudentID is the Primary key (Auto Generated) in SQL then System won't allow you to edit it.

     

    StalinPonnusamy_0-1633524002137.png

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    it is all columns in the table are same cannot edit any of them

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    In the dropdown what are the other control types displays?

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Another possible option may be, You are using the "Display form" instead of the "Edit form".

     

    StalinPonnusamy_0-1633524844358.png

     

    • Create new screen
    • Insert the "Edit" form
    • Assign "DataSource"
    •  
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    So annoying, it is now working as expected 

    I dropped the table in the DB and recreated it into a different schema from the dbo.

    I also dropped it from Power BI and added it back.

     

    Thanks for the support!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I worked out the first time I was actually connecting to the view in the DB (it had same name as the table)

    Also the Table you connect to must have a PK defined otherwise it will only allow you to 'view' and not edit

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous

     

    That's correct.

     

    • We can only view when we connect dbo.Viewname
    • To update data in SQL, we have to connect to Table and the table should have Primary Key enabled

     

    Note: The Patch command is different than normal If we use Patch instead of Submit the form.

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 


    Please let us know if anything needs on your post. We can help with this.


    Please do not forget to give kudos if you find the suggestion helpful or Accept it as a solution if works fine to help other users to find it useful.

    Thanks,
    Stalin - Learn To Illuminate

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard