Code Modules

dsmaj

Registered User.
Local time
Today, 10:22
Joined
Apr 28, 2004
Messages
96
Here's a pretty general question...My current database project to starting to get huge in terms of its interface and the code that supports it. Thus far I've been putting all my code right in the forms for the project. Is there any compelling reason to use code modules rather than just putting all the code in the forms, other than for global variables and functions, and just making your code tidier?

Sam.
 
I put all public [global] functions and subs in seperate modules. All form/report modules only contain code specific for that form/report. I also have specific modules that I use in most of my dbs so it is much easier to import those modules into another db that needs it.
 

Users who are viewing this thread

Back
Top Bottom