Access Modules, Reference

jgandino

Registered User.
Local time
Tomorrow, 00:53
Joined
Oct 4, 2004
Messages
11
I know this is going to sound stupid, but can someone real quickly tell me how the whole module / form thing works. I understand the module code, because I have background in coding, but how do you work with everything regarding the forms. I'm sure it is something stupid and basic, but work with me here. Just a simple example will do. Thanks again.
 
jg,

That's a pretty general question.

Form modules contain the code for a particular form. They are generally
event-driven entities.

If you look at some sample database forms, you'll see that the code is
executed when the form opens, after fields are updated, when buttons are
pressed, etc.

Generally, the code just sits there waiting for Access to call it based on
some event that just happened.

Common code/functions can be stored in Public Modules so that they may
be called (presumably from form/report modules) to perform tasks that
come up frequently.

hth,
Wayne
 

Users who are viewing this thread

Back
Top Bottom