G
Guest
I have a problem I would like to write a public function or procedure that
opens a form
FunctionX(docName,var1,var2)
var1 and 2 are used to concatinate the filter or criteria. I will then do
some changes in the data on the form and then close it. I know how to write
the code but I have no understanding of how to start writing the function and
where will I store it so that I can call it. Right now to do this I write
the code in a on open procedure of a blank form and then call the procedure
by opening the form. I have a feeling that this is not efficient although it
seems to work fine. If You know coould you also please comment on my onopen
procedure of the blank form.
opens a form
FunctionX(docName,var1,var2)
var1 and 2 are used to concatinate the filter or criteria. I will then do
some changes in the data on the form and then close it. I know how to write
the code but I have no understanding of how to start writing the function and
where will I store it so that I can call it. Right now to do this I write
the code in a on open procedure of a blank form and then call the procedure
by opening the form. I have a feeling that this is not efficient although it
seems to work fine. If You know coould you also please comment on my onopen
procedure of the blank form.