Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Improving structure with the table tools

From: Access 2010 New Features

Video: Improving structure with the table tools

Table and field settings that were once buried away are now right up front with Access 2010's new Table Tools Ribbons. Not only will this save you time, but making proper use of the Tables field properties will improve the structure of your database. First, let's click on the Create tab and then click on Tables to create a new table. Look around the right and you'll see contextual table tabs, Fields and Table. When I'm creating a table, I now no longer have to go into Design view. I can do my properties right here from the Datasheet view. If I am working from the Datasheet view, I no longer have to add the field, enter the name and then specify the data type.

Improving structure with the table tools

Table and field settings that were once buried away are now right up front with Access 2010's new Table Tools Ribbons. Not only will this save you time, but making proper use of the Tables field properties will improve the structure of your database. First, let's click on the Create tab and then click on Tables to create a new table. Look around the right and you'll see contextual table tabs, Fields and Table. When I'm creating a table, I now no longer have to go into Design view. I can do my properties right here from the Datasheet view. If I am working from the Datasheet view, I no longer have to add the field, enter the name and then specify the data type.

Now I can add specific data fields with one click and all I have to do is name it. I'll click right here, I'll tell it I want it to be a Text field, and I'll type in the name of my field and when I hit Tab, the next one automatically opens up and is ready for me. Now I can also pick my field types from up here. The next field I want is Date and Time, so I could do it from here, or when I hit Tab, of course I can do it from right here, and last but not least, I'd like a salary field, so I put in Currency from dollars.

Now that my fields are in, it's time to set the properties and again I can do it right here from this Ribbon. So for example, I want to make my last name required. I can use that checkmark right here. I can also set captions, right, front and center. I used Last and First for last name and the first name because keeping them short and sweet makes the programming easier, but in fields and reports, I would like them to actually show up as Last Name and as First Name. So the caption will control the appearance of the field name in all of my objects.

I can also set the field size right from here. 255 characters is a lot of space stored for very small information, so let's go ahead and change this. Now, you also have validation rules right here on the Ribbon as well. In this particular database, the people who are going to be in here are either going to be in the purchasing or marketing departments. So, I'm going to set a validation rule right from here. In order to set validation rules, you do need to use Access's standard formatting.

For more information about that, please see our Access 2010 Essential Training course. So here I'm going to write Purchasing. Now that I've entered a validation rule, I have to put in validation error message because the person using the database will probably not know that those are the only two things that can go into that field. A very welcomed new feature is under Validation, you now have Record Validations that will compare the values in two different fields and if the comparison is invalid, then it will also give an error message.

For example, our end date has to be after our start date. So to create that, I'll click on that item, I'll double-click on End Date, greater than, Start Date, hit OK, and because I did a Validation rule, I do want to have an error message for what happens when it's not correct. So now let's see what happens when I enter in data. I'll put in the person's last name and here's the first name and then their department.

Let me show you what it looks like when I get it wrong. So I'll click OK, I'll erase that out and put in the correct name, and now let's say they started last month, and when I go to End Date and I pick an end date that's before it, it won't work until I actually finish the record, but then it will tell me that the end date must be after the start date. I'll click OK and I'll go ahead and take this out. Let's say they're still with us. Now that we finished creating our table, we can also take a look at this Table Ribbon right here.

Field events are also now up front and center. If you want to run a macro whenever you enter or change your field's data, you can do that right from the Ribbon. We'll explore this in more detail later in this course. So you can see that by using the new Table Tools Ribbons, you'll save several steps in setting up your tables and properties, improving your database structure.

Show transcript

This video is part of

Image for Access 2010 New Features
Access 2010 New Features

18 video lessons · 6722 viewers

Alicia Katz Pollock
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Access 2010 New Features.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

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.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.