Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
When using Lookup fields, you can also make them multi value so that the user can pick several options off of the list. Let's add a Multi Value Lookup field to the Customer table. Right-click on Customers and choose Design View. Scroll down and click on the gray box next to WebPage and then choose Insert Row to add a row above it. In the Field Name, enter Type. Now TwoTrees Customers fall into two categories: Retail stores and Restaurants. In a few cases, our customers both buy our olive oils as food ingredients and sell the bottles out in front.
We're going to make a field with a dropdown, allowing the user to pick one, the other, or both. Click on the Data Type and choose Lookup Wizard. Click on "I will type in the fields that I want" and click Next. Here's where we enter the values for the list. The first will be Retail, and the second will be Restaurant. Click Next. If you wanted to change the label, you could. If you want the user to only be able to select from these two choices, put a check mark in this Limit To List box.
Otherwise, the user can also enter in additional values. By checking off Allow Multiple Values, we can now pick as many as we want from the list. Click Finish, and let's take a look at our field properties. Click on this Lookup tab, right down here. Combo Box is the default view. If I choose this dropdown, I could also change it to a Text Box so that they would have to type in their values, or a List Box, which would show them all at one time. The Combo Box creates a dropdown. Value List means that you've typed it in yourself, as opposed to gathering the fields from another table.
The Row Source are the options. You could add as many as you wanted by hand here, by putting in another semicolon and putting in your options in quotation marks. Now let's see how that looks in our table. Click on the Datasheet View, and it will ask us to save our table. Say Yes. Scroll over to the right, until you see Type, and click on the first row for Gina's pizza and drop it down. We see Retail and Restaurant. We can put a check mark in any one, or both. Click OK.
Now Gina's pizza is noted as a Restaurant. Multi Value Lookup fields give you extra flexibility when a field can have multiple entries.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 99089 Viewers
80 Video lessons · 141761 Viewers
59 Video lessons · 60136 Viewers
52 Video lessons · 73265 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.