G'day from New Zealand

CatDad

New member
Local time
Today, 21:08
Joined
Jun 12, 2024
Messages
3
G'day! I'm relatively new to Access and have spent the past year working with a database that generates stationery for cat shows, including Judges Sheets, Catalogues, and it even kind of handles some points scoring. It was passed down to me by its creator, who was retiring at the time. Before that, I had never used Access let alone seen it, so learning it in around a month before my first cat show felt like being thrown into the deep end of the Mariana Trench. Most of it worked, some of it kind of worked, while other parts seemed kludged together for editing in Excel.

Despite the challenges, I managed to get through around five cat shows last year, thanks to a lot of perseverance and a great deal of help from ChatGPT. Now, I think it's time to properly learn Access so that I can get everything working smoothly and efficiently. I'm hopeful that by understanding the fundamentals, I can make it work as intended and maybe even improve it a little further.
 
Welcome to Access World! We're so happy to have you join us as a member of our community. As the most active Microsoft Access discussion forum on the internet, with posts dating back more than 20 years, we have a wealth of knowledge and experience to share with you.

We're a friendly and helpful community, so don't hesitate to ask any questions you have or share your own experiences with Access. We're here to support you and help you get the most out of this powerful database program.

To get started, we recommend reading the post linked below. It contains important information for all new users of the forum:

https://www.access-programmers.co.uk/forums/threads/new-member-read-me-first.223250/

We hope you have a great time participating in the discussion and learning from other Access enthusiasts. We look forward to having you around!
 
Check out YouTube as well. Plenty of videos on their about most aspects of Access.
 
Welcome aboard! If learning Access is your goal, I suggest Steve Bishop's video series on YouTube. Once you get the basics down, there are a few series on using VBA, the programming language the drives Office applications.

And of course, if you have a specific question regarding your inherited application, this forum is the perfect place to do it.
 
Last edited:
Welcome to AWF, CatDad!
The articles/links in my signature may be helpful to your learning Access and database.
 
Hello and welcome to the forums.

Since that was your first post and you claim to be a novice at working inside Access, I'll just offer this advice. When asking a question, try to be specific and - if it is related to something about your shows or about cats - be sure to include at least some minimal background. Not all of us are cat experts. If you get an error message, don't say "I got an error" ... say "I got this error:" and then tell us what it was,

Sounds like I'm being picky? No, what I told you is how YOU get the fastest possible answer.
 
Welcome aboard! If learning Access is your goal, I suggest Steve Bishop's video series on YouTube. Once you get the basics down, there are a few series on using VBA, the programming language the drives Office applications.

And of course, if you have a specific question regarding your inherited application, this forum is the perfect place to do it.
Thanks for the welcome and the recommendation to watch some Steve Bishop videos. I have a Python background so I can figure out most of the basic stuff, but I've gotten to stage now where the ideas I'm having in order to improve the database are way beyond the basic stuff and require a few more skills. Have started watching Steve Bishop's serious on Programming in Access :-)
 
Hello and welcome to the forums.

Since that was your first post and you claim to be a novice at working inside Access, I'll just offer this advice. When asking a question, try to be specific and - if it is related to something about your shows or about cats - be sure to include at least some minimal background. Not all of us are cat experts. If you get an error message, don't say "I got an error" ... say "I got this error:" and then tell us what it was,

Sounds like I'm being picky? No, what I told you is how YOU get the fastest possible answer.
Thanks for the welcome and the excellent advice. I understand fully what you mean by the lack the background information that some provide when they're trying to resolve something. It's been one of my pet peeves also while hunting for answers through Google.
 
but I've gotten to stage now where the ideas I'm having in order to improve the database are way beyond the basic stuff and require a few more skills.
Most people who come here from programming backgrounds come here with the same thought. But, Access is different - the more you know how to do Access, you will realize that nothing does Access better than Access. A lot of people fall into this trap and realize that had they known "The Access Way" (with apologies to @Pat Hartman), they could have saved themselves much gnashing of teeth, wringing of hands, hair pulling,. etc...
 
Last edited:
@CatDad Welcome;) I am a cat person but I'm allergic and so had to give them up so I don't have any now. I didn't even know there were cat shows.

Since you come from a programming background, you can probably figure stuff out but as @NauticalGent mentioned, there really is an "Access way" and it is ever so much easier than what most experienced people realize. You're not afraid to code and so given that VBA is probably one of the simplest of the programming languages, you can almost figure it out on the fly. So, your first inclination will be to code your way around a problem. Frequently, you'll succeed but it will be harder than it should have been because you will almost certainly be fighting with Access. My background is old. COBOL/CICS and I came to Access around 2.0 in the early 90's when one of my clients suggested it as an option for an application they wanted. The application linked to DB2 (the IBM RDBMS that runs on mainframes) on the mainframe and for me it was love at first sight. That to me, at that time, was totally amazing. I could connect to the mainframe database and update it with Access. I was hooked. The concept of Access Forms is very similar to the real time applications (what we used before the web when our users were all over the country) I typically developed using CICS or IMS/DC. But, moving from a procedural language to one that was event driven was something of a challenge.

The most important concept to understand about Forms is that your code is not in charge. Your code is written as subroutines connected to Events. The mainline code is not visible to you. You can't change it. You need to understand how events are triggered and that will help you with placing your code in the correct event so that it works for you and with Access. There is always a "correct" event. The programmers who wrote the code that actually manages the form gave you hooks in the form of Events where you can hang your code which deals with "why" that event was triggered.

Then you need to understand that the most important Form level event is the BeforeUpdate event. This event is like the flapper at the bottom of a funnel. If the flapper is open, the record gets saved. If the flapper is closed, the record does not get saved. Newbees work themselves into a frenzy trying to control the save process. Don't get wrapped up in that. Access makes it a personal mission to save data and so it does it sometimes in places where you might not expect it to. So, you control that by "catching" the save in the BeforeUpdate event which is the last event to run before the record is actually saved. Therefore, you can validate data and determine if nothing is missing and then let Access proceed to save the record or you can stop Access by using:
Cancel = True
This leaves the record dirty and the user will get to fix his error, which presumably you have given him a message about.

I've included a link to a sample database I created. I wanted to make a video describing why the Form's BeforeUpdate event is so important and ended up creating a very useful database that will help you to understand what is going on with your forms. There are three videos. Two were made to explain various events but the third (the youtube video) is a presentation to an Access user group. It is probably the most entertaining because it has the most viewer interaction but do watch at least one of the videos so you have an understanding of how to use the sample app and see what it is showing you. In the first video, I was working with @Uncle Gizmo and he was playing my audience and asking questions. We recorded it live and that is pretty much what you see. Uncle was kind enough to do some editing to clean up mistakes but it is essentially unrehearsed and so not particularly slick. But during the process we both discovered new stuff about which events run when.

Have fun. I love Access because I'm a lazy bum. It does so much for me that even after all these years I still appreciate it. Access sometimes seems a little long in the tooth and I do wish MS understood what a powerful and unique tool it is and marketed it better but the fact that they don't make a lot of changes is sometimes a godsend given that the less stuff they change the less likely they are to break something critical.


If you have questions regarding the Events logger app, please @ me so I am notified regarding the post and post them in the samples forum so others who have downloaded the samples can see your questions or comments.

I have other samples there which you might find interesting.
 

Users who are viewing this thread

Back
Top Bottom