Question:
How can I define a function that is not associated with a particular form?
Answer:
You can define an function that is not associated with a particular form by adding a user-defined method to the application. You can call the function with the syntax
Application.method_name()
You could also declare a function in the Declarations section of the application.