ColdUpNorth
Technical User
I'm sure this is easy but I'm new to VBA/Access.
When a form is open with a record visable, at a number of places I need to carry out some logical tests between fields in the record. The answer is to have a single block of code that carries out a check on all data and changes some records as it executes. If the form had an "Event", "On Change". For any filed change then this would be ideal. Since, this isn't the case I want a module code to perfrom the operation. A simple call is fine at the places in the form that need the check. But the problem I have is how to access the fields (read and write) from the VBA msodule.
When a form is open with a record visable, at a number of places I need to carry out some logical tests between fields in the record. The answer is to have a single block of code that carries out a check on all data and changes some records as it executes. If the form had an "Event", "On Change". For any filed change then this would be ideal. Since, this isn't the case I want a module code to perfrom the operation. A simple call is fine at the places in the form that need the check. But the problem I have is how to access the fields (read and write) from the VBA msodule.