KenHigg
Registered User
- Local time
- Today, 15:18
- Joined
- Jun 9, 2004
- Messages
- 13,291
Couple more quick questions regarding modules...
1. What are your general guidelines for putting stuff in separate modules. For example I look at portabilty first in case I want to use some code in other databases I'll put chunks of code in their own module. That's the main thing I look at but it seems there should be programabilty issues to consider...?
2. I was looking through an older MS Access book and they suggested qualifying functions and subroutine calls. For example if you have a sub named 'mysubOne' in a module called 'mod1', you should call it twith something like:
call mod1.mysubOne
instead of just:
call mysubOne
Pro's / con's? I suppose it does make it a little more readable - ?
ken
1. What are your general guidelines for putting stuff in separate modules. For example I look at portabilty first in case I want to use some code in other databases I'll put chunks of code in their own module. That's the main thing I look at but it seems there should be programabilty issues to consider...?
2. I was looking through an older MS Access book and they suggested qualifying functions and subroutine calls. For example if you have a sub named 'mysubOne' in a module called 'mod1', you should call it twith something like:
call mod1.mysubOne
instead of just:
call mysubOne
Pro's / con's? I suppose it does make it a little more readable - ?
ken