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 / Pass variables from Po...
Power Apps
Answered

Pass variables from PowerApps to a stored procedure based what the user has selected

(0) ShareShare
ReportReport
Posted on by

Hi ,

 

I need help with the below scenario, if anyone is able to assist I would appreciate it :

 

Scenario:

Execute a stored procedure in PowerApps via a button click. The stored proc works fine when I test it manually however I want to pass parameters to it based on what the user has selected. To achieve this I have used text boxes and check boxes as the input source. The aim is to be able to select multiple rows and click a button (run SP) to approve those selected records.

 

The drawback of using text boxes is that they are editable at run time and have not found a way to lock them. Is it possible to make them read only text boxes?

 

I have also tried using a data table in place of text boxes however I couldn’t find a way to select an individual record at a time and pass those fields as parameters to the stored procedure. 

 

Thanks in advance.

Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,989 Moderator on at

    @Anonymous 

    Have you seen this forum post about passing variables to stored procedures?  It looks like this is achievable using MS Automate.

     

    Link To Relevant Forum Post:

    https://powerusers.microsoft.com/t5/Building-Power-Apps-Formerly/How-to-pass-parameters-to-Stored-Procedure-in-Microsoft-Flow/m-p/190752/highlight/true#M62260

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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