Hi,
Since studying I have been taught that you should always separate the model into a class and the GUI (Form) should not do any of the 'work' to perform tasks other than basic click events which call methods in the underlying model and the 'updateView' method to keep the GUI and model in sync with each other.
should I be applying the same logic to MS Access?
How does that work when you have bound data to the form's controls?
I have many routines / processes which run from the onclick event of a button on the form, is this really bad?
Or is the way you develop in MS Access different to standard VB applications?
As MS Access is not true OO and has many limitations such as no contructor, is it not possible to code applications using the same principles I am being taught on my VB course?
Your advice is appreciated.
Regards,
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts
Since studying I have been taught that you should always separate the model into a class and the GUI (Form) should not do any of the 'work' to perform tasks other than basic click events which call methods in the underlying model and the 'updateView' method to keep the GUI and model in sync with each other.
should I be applying the same logic to MS Access?
How does that work when you have bound data to the form's controls?
I have many routines / processes which run from the onclick event of a button on the form, is this really bad?
Or is the way you develop in MS Access different to standard VB applications?
As MS Access is not true OO and has many limitations such as no contructor, is it not possible to code applications using the same principles I am being taught on my VB course?
Your advice is appreciated.
Regards,
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts