One last question: If I have a set of procedures to manipulate something like my patient record. For example one for adding the details to a listview, one for deleting it etc.. Should I put these procedures in a separate module or keep the procedures on the form? What I''m doing is putting all my procedures in different modules, one module callde patient.bas for example which contains all the procedures relating to patients. Should this be kept on the form? After reading this:
"Write modular code whenever possible. For example, if your application displays a dialog box, put all the controls and code required to perform the dialog''s task in a single form. This helps to keep the application''s code organized into useful components and minimizes its runtime overhead. "
I think I should rethink how I organise my procedures..
Now, as to your other question, put the procedures in a separate module because they could be reused by other forms that might need to manipulate the records.