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 / Submit data to SQL Ser...
Power Apps
Answered

Submit data to SQL Server table WITHOUT using Form

(1) ShareShare
ReportReport
Posted on by 28

I am trying to submit data to a SQL Server table as such:

 

msuser48_1-1660149834825.png

(Ignore the red lines, I get no errors using this code on my actual SQL table).

 

Using the code in the OnSelect for the "Submit" button, the code editor understands that there exists an OrderNumber and ClientName.

 

However, nothing happens when I click "Submit" (no data submitted to SQL server), and no errors are seen in the code.

 

I know that I can use a Form for this, but I do not want this. I just want to use TextInput boxes that contain data. Data from these TextInput boxes should then simply be submitted to the SQL server table upon Submit.

 

How do I achieve this?

 

Categories:
I have the same question (0)
  • Verified answer
    rohitsbots Profile Picture
    280 on at

    @msuser48 If OrderNum & ClientN is your input text field names then you need to OrderNum.Text & ClientN.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

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 739 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 268

Last 30 days Overall leaderboard