Notifications
Announcements
Hello All,
I have completed building an application but i am facing one issue and that very much needs to be fixed. i have a code that runs on time rend property. Now i run into the issue where in when i run the new form the timer runs. But the next time if i open the edit form or the new form the timer does not start only.I have the timer Start property as Timer run a variable that i am setting true on on start of the application.On timer end i have variable reset timer which i am setting as true and then false.The only problem i am facing is that the timer runs the first time when an edit or new form is opened for the first time. But when a new or edit form is opened second time the timer resets but does not start unless i start it manually by clicking on it.Please help me fix this issue, as it is really necessary.
@Jayant_2203 The OnStart fires only once when the App starts. If you want the timer to start every time, it would be better to Set the variable to true in the OnVisible of the Screen that has the Form. Also it is good to set this variable to false in the OnTimerEnd property.
@CNT it is still not working.
Check the following:
- AutoStart is false
- AutoPause is true
- OnTimerEnd sets the variable to false, remove the line that sets it to true
- OnTimerStart is false- Reset is true
- Repeat is false
- Start is your variable
I found timers annoying to begin with. It helped me to have a label next to it with the variable that controls it, as well as 2 buttons, one that sets the variable to true, and one that sets it to false. This makes it faster to troubleshoot problems and fix it.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 765 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 272