Information générale
Catégorie:
Programmation Orientée Object
Titre:
Where does the code go
I have various forms that run reports, and a lot of time, do a fair bit of processing before displaying the report.
Whenever I have created these forms, I just put the processing code in the Click() of the OK button.
I'm sure this isn't good practice in OOP, can anyone give me their views as to where it would be appropriate to place my "report processing" code. I would imagine it was better to have huge chunks of code in a central spot, then have the form fire it off from there.
Can anyone advise?
Thanks
Kev
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement