Hello,
I have a DataCard1, DataCard2 and a Button. I want to click the button and set the text value of DataCard2 to the entered text from DataCard1.
I entered this into the OnSelect of the button: Set(Var, DataCardValue1.Text) & DataCardValue2.Text = Var
Unfortunately, clicking the button does nothing.
Thanks for your help!
Solved! Go to Solution.
Hi @mseto ,
Set the Default of DataCard1 to DataCard2.Text
On the OnSelect of the button, put Reset(DataCard1)
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.
Are you getting an error or is the value just isn't getting copied over?
---
If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions.
Thanks!
Hardit Bhatia
One quick suggestion:
For DataCardValue2, set the Default property to the variable Var.
Let me know if this works.
---
If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions.
Thanks!
Hardit Bhatia
Hi @mseto ,
Set the Default of DataCard1 to DataCard2.Text
On the OnSelect of the button, put Reset(DataCard1)
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.
Thank you much Warren and Hardit! It worked!
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
252 | |
124 | |
85 | |
84 | |
67 |