I am writing this question for Delphi 2007, but I am sure that this is a common problem in all languages.
So, I have a project where I need to store information about the old and new values ββof certain fields (which are specified in the BeforePost event of the dataset I'm working with) and use them in the AfterPost event.
I am currently using global variables, but there are already so many in the project that this becomes a real problem when it comes to managing documentation and / or comments.
Basically, I ask if there is a better way (in Delphi 2007 or in general) to save information from the BeforePost event of the dataset and return them to the AfterPost event.
events delphi delphi-2007
Keinemaster
source share