Have you looked up Calling Procedures in a Subform or Subreport - the syntax is roughly the same.
Also, modules in Access 95++ are class modules, so you can add custom (public) methods, etc. See Custom Methods and Properties in the help file.
In a form, declare a subroutine...
public sub test
msgBox("Wibble wibble...")
end sub
In your code (assuming your form is called TEST):-
Forms![TEST].test
(Apologies to all for answering an Access 97 Question in a VFP forum).
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only