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 / Submiting value to SQL...
Power Apps
Answered

Submiting value to SQL table

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a label on the form, edit screen. This label is not part of any DataCard. Label gets some data from Sql table, and I would like to submit this data to sql table along with other fields that are in DataCards.

The problem is that I dont know how to bind this data from label to the corrsponding column/field in sql table. I only know a way where you add fields to form from data source, and then DataCard with input is created.

 

I dont want any input fields, just a label with some text that gets submited to sql table, along with other data from input fields, when user click submit form.

Categories:
  • Bilakanti Profile Picture
    1,226 on at

    @Anonymous ,

    You can use Patch function, rather than SubmitForm. In Patch function you can map the labelvalue with the appropriate SQL Column.

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I have actualy just used the value of a label for text box in Datacard(label1.text). And then hidden this datacard.

     

    But will look into patch function nayway.

  • timl Profile Picture
    37,306 Super User 2026 Season 2 on at

    Hi @Anonymous 

    In this case, I suggest that what you've done here is the best approach.

    >> just a label with some text that gets submited to sql table, along with other data from input fields, when user click submit

    If you want to append other values from other input fields, you can modify the Update property of your hidden data card to refer to these other input fields.

     

    eg Label1.Text & " " & Textbox1.Text

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard