cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RohanWadiwala
Frequent Visitor

Updating a bound field programatically

Hi Team,

I'm pretty new to PowerApps so please excuse if my question sounds trivial.

 

I have a edit form whose data source is a SQL table.

I need to assign value to one of the bound textfields on a click of a separate button

(idea  being user will update most of the other fields, but this field gets auto-updated with valid values)

 

Unfortunately the regular code of textfeld.text = "some value" does not seem to work.

 

Can you please point me to some resource which explains how I can implement the same or jolt down some steps how should I resolve this.

 

regards,

Rohan W.

1 REPLY 1
eka24
Super User
Super User

Insert a button an put this variable on the onselect: Set(MyValue,"The text you want")

Then in the default of the textbox that you want to see when user clicks the button put: MyValue

 

If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,360)