joemeshuggah
Board Regular
- Joined
- Jul 18, 2008
- Messages
- 161
i am trying to learn vba programming on my own...one of the books i have been reading has a brief section on coupling and cohesion...coupling being too putting too many tasks in one procedure. this is exactly what i have been doing in my first attempts at coding. i have a beforeupdate procedure on a form that has become a confusing mess of checks and balances that interfere with one another.
my thought was to create a module for each procedure, and then just do a series of calls in the beforeupdate of the form to make things easier to sort out and test. the only problem is, i cant seem to get the modules to reference the information on the form (e.g. me.MyField is not recognized). is this possible?
my thought was to create a module for each procedure, and then just do a series of calls in the beforeupdate of the form to make things easier to sort out and test. the only problem is, i cant seem to get the modules to reference the information on the form (e.g. me.MyField is not recognized). is this possible?