Jim,
Sure, just add a method, put your code in it, and then call that method.
Regards,
Jim
>
Can you program procedures or something like procedures in forms? I often have code that is structured like "Thisform.Object.Value = ...." and you can't place them in procedures in the main program, but I have big chunks of code that I use in several buttons on the form. To make a change in the code requires making the change in all the buttons that have the same code. Is there a way to code it once somewhere in the form and have any object on the form access it?
>
>Tired of changing the same code many times!
>Colombo.
Jim