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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using one routine from many forms

Status
Not open for further replies.

tbac

Technical User
Jun 16, 2003
59
US
I have a routine to update a status field and it needs to be able to run from several different forms when records are updated. Do I put that routine into a Module and call that module from the different forms? If so, what is the wording on the Event Procedure?
 

Don't call the Module.
Call the Function.
Code:
Call myFunction([i]strWhatever[/i]
Also, make sure your module and function do NOT have the same exact names.

Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top