Suppose I want to create an application to keep track of my favorite ice cream cone flavors. Each time I buy an ice cream cone, I want to record the date, time, vendor, flavor, cost, and a rating (0-10).
Let's call my primary table tblSamples. It will have foreign key fields to tblVendors and tblFlavors.
My primary data entry form, frmSamples, will allow me to enter the data for each ice cream cone purchase.
Question #1: Can I set up some type of a "look up" control on frmSamples for the flavor and the vendor that get their data from tblFlavors &tblVendors?
When I get to the Flavor control, I will be shown a dropdown list showing the first few flavors in tblFlavors. As I start typing the flavor of the cone I just ate, the dropdown list will position itself at the first entry matching the letters typed. When I get to the correct flavor, I can press Enter of Tab to accept it. If the flavor is not in tblFlavors, I can press Enter or Tab and have a new form appear that will allow me to enter that flavor into tblFlavors and then, on return, enter that flavor into the first form.
Suppose tblFlavors has these flavors:
- Apple Pie
- Banana
- Caramel
- Chocolate
- Chocolate Chip
- Chocolate Decadence
- Chocolate Fudge
- Chocolate Mint
- Chocolate Swirl
- Cinnamon
When I get to the Flavor control, I would be shown the first 5-6 flavors. I could use the down arrow key (or the page down key) to find the flavor I want or just start typing its name. If I type "c", the list would be positioned at "Caramel". If I then typed "h" ("ch"), the list would move down 1 to the first Chocolate, and so on.
If I had bought a new flavor, "Chocolate Nut", when I got to the "N", I would be shown that that flavor does not exist in the database and offered the option to add it. This would probably entail bringing up another form (frmFlavors), which I could also access independently to add flavors.
Is this possible in Access 2007?
Can someone give me some pointers on what features to read up on or an outline as to how to set it up?
Thanks