Hi Everyone -
I wanted to get some of the experts on this forums opinion on what is the best way to code. Is it better to store code in the object module or is it better/ more effecient to store the code in a common module and call the code to the object as needed?
I have heard differing opinions on this and also picked up some knowledge on this (such as calling code when needed instead of imbedding it in the forms will speed up form load/refresh times) so I thought I would post the topic hear and see what others have to say.
As for myself, I commonly put code that is object specific in the object's module and other code that I use for multiple objects I place in module call '(TYPE_OF_OBJECT)Operations' and call it when needed... (i.e. if its form code its stored in a module called 'FormOperations')
How bout you?
Thanks,
Kev
I wanted to get some of the experts on this forums opinion on what is the best way to code. Is it better to store code in the object module or is it better/ more effecient to store the code in a common module and call the code to the object as needed?
I have heard differing opinions on this and also picked up some knowledge on this (such as calling code when needed instead of imbedding it in the forms will speed up form load/refresh times) so I thought I would post the topic hear and see what others have to say.
As for myself, I commonly put code that is object specific in the object's module and other code that I use for multiple objects I place in module call '(TYPE_OF_OBJECT)Operations' and call it when needed... (i.e. if its form code its stored in a module called 'FormOperations')
How bout you?
Thanks,
Kev