I have a gallery, from which i am doing a total on a text input. This works fine by itself. However i am to call the onChange action on this text input so that a set of instructions are called manually. The functionality on the OnChange actually takes the amount in the text input and displays it in words in another label. This works perfectly if the text input it edited, however i would like to load the lines in the gallery and make the total read only and fire the onChange from maybe the form OnVisible so that the label with the words gets printed.
Is this possible or is there another work around ?
Thank you all in advance 🙂
Solved! Go to Solution.
@ashtfg The second part of the With has to evaluate to the text you want to see. Don't use Set, This will not work.
Using the below forum post:
@ashtfg The OnChange() property will fire only when a change is made and the user navigates away from the control, say clicks outside the TextInput.
Rather than doing this in the OnChange(), you can do this calculation in the same place where the other calculation is done and set it to a variable and then set the variable in the Text property of the Label.
Check out the News & Announcements to learn more.
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.