>The problem is that you were putting the code in the form to begin with. Why not put it in a bizClass instead? Then it is usable in other areas of your app without kick starting the form, and it's DE possibably.
>
>__Stephen
>
Stephen,
any code that could ever be used in any other part of the program goes into a procedure file. We have to main prgs. the MAIN.PRG that launches the appliation and holds all of our standard company procedures that are used in any app we write and an APP_PRO.PRG file that holds all procedures and functions that would be common to the applicaton. These files are about 100K each in our major product. Code in a form is only used in the form and not needed anywhere else.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn