Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open a module from a button in access form

Status
Not open for further replies.

Cpreston

MIS
Mar 4, 2015
987
GB
Hi

We have a module called module 1 and I want to run this directly from a button from a form.

Any ideas how I do this please as the wizard as no option and I am not hot on programming within access

Thanks
 
A module cannot run. A module is basically a folder that holds sub routines or functions that can run. So your funtion/ sub routine that you want to run probably (and has to) has a different name.

in design view go to prooperties. Go to event procecure tabes. Go to on-click. Hit the ellipses. Select code builder. This will create a click event procedure. From there you can call your code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top