Hello. I have several questions regarding Custom Events and Class Modules. First of all, I have started designing a database that will calculate the assessment value of property. The database has numerous tables - tables to keep track of Property Info, Improvement Calcs and then 11 other tables to keep track of the type of improvements done on or to a property. It will have a lot of calculations - and will have calculations based on those calculations. Currently, we are using calculated text boxes on the forms but I'd really like to have these set up as functions. I have created a bound form that I'd like to use, however I'd like to have an event fire when a value is changed. If I understand correctly, I probably need to create classes/ collections. Is it necessary to use classes? Is that the only way that I can make a custom evernt fire? I understand that they (classes) are better in the long run but since I've never used them before I have alot of questions.
Question 1: Do I need to declare a variable / public property for each of the fields within the tables?
Question 2: Since these tables have a one to many relationship, do I need to create collections? Can the collections be in the same class module as the public properties?
Question 3: How do I create the relationships in the classes? Or do I have to?
I do have several other questions but this should last me for today. I'd appreciate any help or comments! Thank you in advance.
Question 1: Do I need to declare a variable / public property for each of the fields within the tables?
Question 2: Since these tables have a one to many relationship, do I need to create collections? Can the collections be in the same class module as the public properties?
Question 3: How do I create the relationships in the classes? Or do I have to?
I do have several other questions but this should last me for today. I'd appreciate any help or comments! Thank you in advance.