Viewers: in countries Watching now:
Discover how to manage data entry and reporting tasks more efficiently using Access 2010. Author Adam Wilbert presents lessons on designing forms, organizing and displaying data with form controls, creating flexible queries, and building a form-based navigation system. The course also shows how to build reports from wizards and queries, highlight important data with conditional formatting, and automate reporting processes with macros.
We are going to wrap up our rolodex- style employee directory here and add a final bit of polish using the Property Sheet to modify some additional objects within our form. We will start by adding a header section that will appear at the top of our form so that our end users will immediately know what they're looking at. As we go through this, keep an eye on the Property Sheet and you will see the values change as we move things around and make selections. I have got my employee directory open here, and one of the changes we made in the last movie was to remove some of the View modes. So now if I want to change the Design view, all I need to do is press this Design button right up here.
The View mode that we are not going to be using have disappeared from this list. So it makes it really easy to toggle back and forth between Design view and Form view. So I will just click the button here. That will put me back into Design view. I can open up the Property Sheet, if you remember those shortcuts: Alt+Enter, F4 double-clicking, or using the Property Sheet button here. So however you want to do it, go ahead and open up that Property Sheet. Now the first thing I want to do is add that header section at the top where my titles will appear. I am going to right click on the Detail bar right here, and I am going choose Form Header/Footer. That will put a header section at the top and a footer section down here at the bottom. And we are not going to be using the footer, so I will go ahead and scroll this up to the bottom and get rid of it.
The header section, I am going to go and expand it a little bit so I have some room to work. I will click here and drag it down. The next thing I want to do is add a logo to this top-left corner here. There is lots of different ways that you can add images into your forms. You could either use this Insert Image button here. We can use the Logo button here. The Logo button will add a formatted image and I will drop it in the top left corner right here. I like to use the Insert Image button better, because one, it will give me a gallery of images that I have already used here and two, I find that I have more control over an image when it's not locked into this Logo type.
So I am going to click Insert Image and then browse. We will browse into our Desktop, Exercise Files, the Chapter 2 folder, and we will find TwoTreesLogo. Go ahead and say OK. Access gives me this little box here, my cursor has changed across here with a little image icon, and I will just drag out a box to place my logo. And there it is. Now let's add a couple of labels here. I am going to add some titles, so I will click on this Title button right there. That will add a title to my form. I am going to ahead and accept this name of Employee Directory; it's pulling that from the name of the form right here.
But I want to format it a little bit. Now I could go up to the Format tab here and change the formatting. I could also change it down here in the Property Sheet. Let's go ahead and change it in the Property Sheet. First of all, I am going to change the font. Instead of Cambria, I am going to change it to Calibri. And I will leave it at an 18-point size. I will leave the Text Alignment to left here and actually this is kind of interesting. Let me show you. The Text Alignment options up on the Format tab are left aligned, center, or right aligned. Down here on the Property Sheet, it's currently set to left. If I use the drop down menu, I have Left, Center, Right, but I also have this Distribute option, which will distribute the letters across the entire bounding box.
So that's an option that you only have available in the Property Sheet and not up here in the Ribbon. I am going to switch it back to Left. Now I can go ahead and change the color of this font. I could change it up here on the Ribbon or I can change it down here on the Property Sheet. I am looking for the Fore Color, which right now is set to Text 2. I will click on the Build button, and that will give me the color picker and I am going to choose this dark gray right here. It's Black, Text 1, Lighter by 15%. Now I am going to move into position. Because I use the Title tab instead of just placing text on my own, it's kind of locked in here in the top corner.
I can move it around using the handle that's way over here on the left, so it looks like it's little bit away from the label. I will click and drag that over. Now when I change this background color back here, I want to make it a green color that matches our logo. I will click on this background, right over here there is nothing selected, and into the Format here, I will change Back color to a specific color. I will use the Build button and instead of choosing one of these color chips, I am going to say More Colors and I am going to type in the value. Now I know that this logo color is 185 for Red, 198 for Green, and 170 for Blue.
I will type those values in and say OK. Now my background color matches the logo. The last thing that I want to change are these labels down here on the detail section of my report. Earlier in this movie, I changed them to a dark green color, and the more I look at it, I think it distracts from the actual data here, so I might go ahead and change those using the Property Sheet. I will click on Phone. Now I will Shift+Click on all the others. Now in the Property Sheet, I can change their properties. First I am going to change the Size down. I am going to change those to 9. And in the color, right down here where it says Foreground color, I will use the Build button and I am going to chose a gray color, maybe this white background darker by 25%.
Now let's take a look and see how this form is working. I will go back to the Design tab, switch to Form view, and there we go. You know now that I am looking at those, those look a little too light. Let's go back and change it one more time. Go back into Design view. They are still highlighted, so I can click on the Build button here, and we will choose a darker color. How about this one here, the 50%? Go to Form view, and that's looking better. I can see it now, but it is not distracting from the actual data. Let's go ahead and scroll through our form, and you can see that I can scroll through by using the mouse here or you can scroll using the bar, and my header here at the top isn't moving.
I also have these lines between each record, and all the fonts and graphics are looking aligned up properly. So there's our finished employee directory. The Property Sheet is really the master list of all the options that you have within your database. This applies not only to forms, but we'll see it again when we work with reports later on in the course. It may look a little intimidating at first, but I would definitely recommend that you spend some time reading through the list of available settings, and I am sure that you will come across a few of this to stimulate your brain and make you think of new functionality that you can incorporate into your database.
There are currently no FAQs about Access 2010: Forms and Reports in Depth.
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.