| Using the NotInList Event | |||||||||||||||||
| With Barb Garber | |||||||||||||||||
From Windsor, Ontario, Canada, Barb asked, "How can I use the NotInList event to automatically update the values in a database!" Barb and I solved the problem together, and in the process we figured out how to use the NotInList event to make a ComboBox a lot more useful in Access. Here's how we did it! ----------------------------------------- About.com also has a database focused site at
databases.about.com. ----------------------------------------- |
|||||||||||||||||
Barb described the program she wanted to write this way: I have a large collection of information that I use within Girl Guides for crafts, games, and other activities. I want to create a database that will let me know where my information is. My fields are: NotInList is a little known event in Access VBA that isn't even available in VB 6 or VB .NET! So, for all of you VBA programmers, you have an advantage here. What Barb needs looks like a standard lookup table. If you've coded these before, you might have created a main form that stores most of the information for your system and a lot of little satellite forms just to maintain each of the lookup tables. The NotInList event will let us use a lookup table without a requirement to create an extra form just to maintain it. |
|||||||||||||||||

