Hello,
Can anyone help me figure out how to run a module by clicking on a button in a form?
Thanks!
Hello,
Can anyone help me figure out how to run a module by clicking on a button in a form?
Thanks!
Do you want macro or VBA? Why are you having issue? There are wizards to create code. What behavior do you want?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
FYI, You don't "run" modules. Your run (execute) procedures. Modules are containers that hold procedures subroutines and functions.
I've created several modules that create queries that organize information in several different ways that are useful to me. Each of these queries has multiple versions for different project. The query is the same, but the project name is different. So, what I'm trying to do is create a button_click that creates all of these queries (using these modules) for whenever a new project occurs.
Import the module into another dB. Name this dB something like Library. On a new project, import the module(s) from the library dB to the new dB. Eazy- pizy.