Having nothing to do, I decided to run MZ-Tools' Review Quality on one of my databases.
In Programming Rules Review, I'm receiving some weird errors I've never heard of.
Can anyone confirm if any of these points are valid? Or they're simply MZ-Tools rules and not VBA.....
(specially point 3 in above list)
Thanks.
In Programming Rules Review, I'm receiving some weird errors I've never heard of.
- The number of parameters of a method cannot be greater than 5 (Receiving on API with more than 5 parameters)
- The number of parameters of a method cannot be greater than 5 (Receiving on functions/subs with more than 5 parameters)
- Class fields cannot be declared with the Dim keyword (Receiving on Dim WithEvents oForm As Access.Form ---> on top of class modules)
- Method variables cannot be a single letter (Dim X As Integer)
- Classes cannot have more than 1000 lines of code
- Modules cannot have more than 1000 lines of code
- Enum items names cannot start with the name of the parent enum
Can anyone confirm if any of these points are valid? Or they're simply MZ-Tools rules and not VBA.....
(specially point 3 in above list)
Thanks.