Forms code and external sub or function

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

I wanted to know if it is possible to call a sub or function without
returning to the original code???

I have experienced more than once when using one of the many forms events,
that Access tells me that I cannot execute the code at this time or from
this place.
 
Bill,

I am not sure whether this will be the entire answer to your question,
but one factor is that if you want to call a form module procedure from
elsewhere, it has to be scoped as "Public", e.g.
Public Sub BlaBla()
 
Back
Top