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 / Use button that refers...
Power Apps
Answered

Use button that refers to a text input field to edit excel tables, etc.

(0) ShareShare
ReportReport
Posted on by 4

So there is probably a better way to do this, but I am just practicing right now and don't have any actual work data yet.

 

Say I have a text input, TxtOne, that says 'Hello.' I want to add hello to my table under SampleHeading. 

 

This is what I've tried:

Patch(Table1, Defaults(Table1), {SampleHeading: TxtOne})

 

I can't figure out how to link the button and text input, or how to to have TxtOne represent the values it's given. Any help?

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,949 Most Valuable Professional on at

    Hi @gibson ,

    Close . . .

    Patch(
     Table1, 
     Defaults(Table1), 
     {SampleHeading: TxtOne.Text}
    )

    I have a blog on Controls and their references that may assist you.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • gibson Profile Picture
    4 on at

    Ah yes, I figured it must be a syntax error, it's frustrating that info isn't easier to find/clearer in the docs. Thanks! 

  • WarrenBelz Profile Picture
    155,949 Most Valuable Professional on at

    Thanks @gibson ,

    Please remember to Accept as solution as this will help others find it more readily and also closes the item. 

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 294 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 169

Last 30 days Overall leaderboard