Jojo,
There's no good reason for doing that.
>
>Thanks for some insight, Sergey but its not just on the proper design of an App, what i'm pointing out here is the long code limitations on a command button. It's easy to put some external procedure/prgs that can be called on the command click event to process a certain job. The App is done this way, calling sub program from a command button under VFP 6..
>
>There could/might be some reason or case that a developer want to put some long lines of code on a command button instead of calling some external code/forms/classes. Yes, we all know that its easier to debug a program or app written with a lot of forms, class and prgs., but for this app's case, one form is enough to process a job which is to produced reports and and text files for Accounting purposes..
--sb--