Hi,
I am wanting to create a history log screen in power apps.
I have an idea:
1) After a record is Edited or submitted on edit form,(submit button)
2) go back to home screen,
3) click history button, new screen opens or pop up
4)this new screen shows Fields : Modified by, new value, old value. How to show old value of a field? Is this possible?
Any ideas on this would be appreciated.
Not sure if it's the most effective way to do this, but
If you only want to see items edited during the current app session, you could use a collection, and when a value is updated, store the new value, old value and person who changed it.
If you want to be able to see changes made prior to the current session, my best idea would be to create new columns in your datasource, storing previous values and the user who edited it.
As for displaying the items, you'd just need a gallery, and if you want to find history for an individual item, just make sure you leave open the possibility to view the update history by a unique field of the items.
WarrenBelz
146,605
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,946
Most Valuable Professional