I have two columns on a table which are datatime
After the user makes changes and saves the record I need to check if the value of these now have an entries, or the entries have changed form their original values.
If they has then I will run some code to update other tables, such as adding a new chick to stock if the datetime is empty before and now has a hatch date.
What is the best way in Lianja to check in the onafterupodate call on the table for this?
I'm thinking of using the onbeforeupdate to store the value to Lianja.localstorage.aim.thatchfrom and Lianja.localstorage.aim.thatchto
The checking these values in the onafterupodate and comparing them to the current values.
Or is there a simpler / better way to do this?
Bookmarks