Solved

Running a module in Microsoft Access 2003

Posted on 2014-03-05
4
721 Views
Last Modified: 2014-03-05
Experts,

How do I run a  module from Access 2003?   Currently this is the only code in the Database. I want to see if it works.
0
Comment
Question by:morinia
4 Comments
 
LVL 19

Assisted Solution

by:Melih SARICA
Melih SARICA earned 83 total points
ID: 39906287
F5
0
 

Author Comment

by:morinia
ID: 39906341
Melih,

F5 and run prompt for the name of  a macro.
0
 
LVL 61

Accepted Solution

by:
mbizup earned 83 total points
ID: 39906345
The above answer is not entirely complete,


You need to open the VBA Editor first, by either hitting Ctrl-G or opening the module from database window.

At that point, F5 will work (specify the name of the sub or function you want to run)

You can also hit ctrl-G again, which will take you to the "immediate window" at the bottom of the vba editor.  From there, you can run the sub or function by typing it its name and specifying pass parameters as needed.
0
 
LVL 34

Assisted Solution

by:PatHartman
PatHartman earned 84 total points
ID: 39906522
The technical answer is - you don't run modules - you run procedures.  You need to run the sub or function contained in the module.  If there are multiple, you need to figure out what is the "main" procedure that invokes the others.  If they are all independent, you would need to run each in turn.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
Read about achieving the basic levels of HRIS security in the workplace.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now