< Back

Document Subject: Subforms and Script Libraries Problem
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#SubformAndScriptLibraries or http://A555F9/nn.nsf/ByAlias/SubformAndScriptLibraries

When using a script library with a subform a function or functions can sometimes not be found. It is not caching.The solution is simple.




You need to make sure the functions or subroutines are declared as public.

 

eg instead of:

function blah

   msgbox "hello"

end function

 

you put in:

public function hello

  msgbox "hello"

end function