If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
functions in forms?
Hi Clive,
I see you and I have a question with no response. Perhaps I can help you. Functions is module are usually place their if the are either 1. Global to the application. In that case you indicate it is a PUBLIC function. or 2. Used by another subroutine within the module (only), in which case you indicate it is a PRIVATE function. In a form a function would be accessible by other subroutines in the form code and are indicated as PRIVATE. However, they can be labeled PUBLIC then they are accessible from outside the form. If that does not anwser your question please provide additional details. "grog" wrote: Hi, I am missing something. If I define a funtion within a module then it will execute satisfactoriily from the immediate window. If I define a funtion within a form then it does not execute satistactorily. Is this a quirk of the immediate window? or should functions only be defined in modules not form code? thanks in advance. Clive Grog |
Thread Tools | |
Display Modes | |
|
|