- Local time
- Today, 11:27
- Joined
- Feb 19, 2002
- Messages
- 47,029
It is a HUGE lesson. It probably took me 5 years to learn some of that stuff. Just having someone hit me in the head with - the event procedures are "hooks" off the main line of the form object - would have catapulted me into a better understanding of event procedures earlier.
Splitting the FE and BE came to me immediately because my first Access databases had DB2 BE's so I never had embedded tables until much later. So, by the time I got to a client where I was going to create Access (Jet/ACE) BE's, I already understood why I didn't want embedded tables.
VBA is a pretty simple language. If you already know SQL, then you are very far along the learning curve. You just need to understand "the Access way". Start with taking your hands off the keyboard any time you decide you need to code your way out of a problem and think - did those fabulous Access developers in 1991, think about this? The answer is pretty likely - yes. So, look for a setting to help or a function. Make sure you review the list of VBA Functions. Keep a link to the web page of VBA functions by category. Having to search the alpha list is not helpful. If you need a function that works with dates, you will find it in the date category. You probably won't need to write code at all. If there is no property and there is no function, then try a query. Your final and LAST option is code, don't make it your first
I've written my million lines of code and I don't need the practice.
Splitting the FE and BE came to me immediately because my first Access databases had DB2 BE's so I never had embedded tables until much later. So, by the time I got to a client where I was going to create Access (Jet/ACE) BE's, I already understood why I didn't want embedded tables.
VBA is a pretty simple language. If you already know SQL, then you are very far along the learning curve. You just need to understand "the Access way". Start with taking your hands off the keyboard any time you decide you need to code your way out of a problem and think - did those fabulous Access developers in 1991, think about this? The answer is pretty likely - yes. So, look for a setting to help or a function. Make sure you review the list of VBA Functions. Keep a link to the web page of VBA functions by category. Having to search the alpha list is not helpful. If you need a function that works with dates, you will find it in the date category. You probably won't need to write code at all. If there is no property and there is no function, then try a query. Your final and LAST option is code, don't make it your first
