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 / PowerApps cannot edit ...
Power Apps
Unanswered

PowerApps cannot edit text field when connect MSSQL

(0) ShareShare
ReportReport
Posted on by 185

Hi, 

 

Conneciton: PowerApps to connect SQL Express via on-premises data gateway 

I am trying to create a simple form and submit to SQL express

but the Form field does not allow me to enter the text.

 

Finding #1

when I started the PowerApps by "Start with your data", 

the "+" new form icon was not being generated as usual (but I was able to see "+" icon if start with Sharepoint data.)

 

Finding #2

I tried to add a new screen and start from blank, but the fields are not showing 

Screen are attached

Q16a.PNGQ16b.PNGQ16c.PNGQ16d.PNGQ16e.PNG

 

Finding #3

I found that all the DataCardValue's lineHeight are minimized to less than 1 pixel (during the creation), that's why I cannot see the "string edit area". 

When selected "DataCardValue12", the Display mode is "View", but it's locked and cannot change to other mode.....

and it returns "This data type is unsupported for evaluation"

 

Q16f.PNG

 

Any idea?

Thanks in advance


Sam

 

Categories:
I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    on at

    Hi @samsam ,

     

    It seems that your SQL table is read-only so that you can not edit the form.

    Does your SQL table have a primary key? I had met the same issue with you that if the table doesn't have a primary key, it just be read-only. So please make sure to define the primary key? It'll need one.

    For SQL tables moving forward, please be sure to write your CREATE statement like this:

    CREATE TABLE dbo.TableName (
     Id INT IDENTITY(1,1) PRIMARY KEY NOT NULL,
     ...
    )

    Also you can find it in the prerequisites of SQL connector, source:  https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-azure-sqldatabas... 

    Annotation 2019-10-14 162242.png

    Best regards,

    Sik

    If my post is helpful for you, please click on “Accept as Solution” to help other members find it more quickly.

     

     

     

  • samsam Profile Picture
    185 on at

    @v-siky-msft I've just added the primary key, but it still failed...

     

    Q16g.PNG

  • samsam Profile Picture
    185 on at

    @v-siky-msft thanks ~~ the table is required to be re-created from NEW. 
    Everything works fine now ~~ thank you 🙂

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard