What is Datasheet view and Design view?

by seeing an object from top gives us an top view..by seeing an object from side gives us side view..

Get full access to Ten Minute Guide to Access 97 and 60K+ other titles, with free 10-day trial of O'Reilly.

There's also live online events, interactive content, certification prep materials, and more.

When working with tables, there are two views available: Design and Datasheet.

What is Datasheet view and Design view?
One easy way to switch between the views by clicking the down arrow next to the View button on the toolbar (it's the leftmost button). Then select the view you want from the drop-down list that appears.

Another way to switch between views is shown in the following steps:

  1. Select Table Design or Datasheet, depending on which view you are currently in.

  2. If you're moving from Table Design to Datasheet view, you may be asked to save your work. If so, click Yes.

  3. If you're asked for a name for the table, type ...

Get Ten Minute Guide to Access 97 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.

Get Mark Richards’s Software Architecture Patterns ebook to better understand how to design components—and how they should interact.

It’s yours, free.

Get it now

What is Datasheet view and Design view?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.

Design View can make it easier to set up a table. It provides a different view of the table to Datasheet View, and is typically used to configure the table.

You can use Design View to create a tables, set up data types for each field, specify default values, specify how data should be entered and displayed, and more.

Generally speaking, most tasks can be achieved using either Design View or Datasheet View, however there are some advanced settings that can only be changed in Design View. Also, you might find that you prefer to do certain tasks in Design View and other tasks in Datasheet View.

We will now use Design View to do two things:

  1. Create a new table
  2. Set field properties for our existing table

Create a new Table in Design View

So now that we've established that Design View and Datasheet View are just two ways of looking at the same table, let's go ahead and create a table in Design View.

  1. What is Datasheet view and Design view?

    Click Table Design from the Ribbon (ensuring that the Ribbon is on the Create tab).

    What is Datasheet view and Design view?

    A blank table called Table1 will be displayed in Design View.

  2. What is Datasheet view and Design view?

    Now we will enter each field and select their data type.

    In the first cell under Field Name add a field called GenreId. Select Autonumber as its data type.

    Under that field, create a new one called Genre and select Short Text for its data type.

  3. What is Datasheet view and Design view?

    Ensuring the Genre field is selected (by clicking on it), look at the bottom Field Properties frame.

    Double-click somewhere in the Required row, so that the value now reads Yes.

    Now, double-click in the Allow Zero Length field so that it changes to No.

    We have just made the Genre field a required field — all records must have a value in this field, and it can't just contain a blank string.

    You can also click in the row, then use the small button with the down-arrow to change the value.

    Or, you can simply highlight the current value (by clicking on it) and type Yes or No over the top of it.

  4. What is Datasheet view and Design view?

    Right-click on the GenreId field and select Primary Key from the drop down list.

    This makes the field a primary key field. Once you've done this, you'll see a little key icon to the left of GenreId.

  5. What is Datasheet view and Design view?

    Right-click on the Table1 tab and select Save from the drop down list.

    What is Datasheet view and Design view?

    Call the table Genres and click OK.

Set the Field Properties for an Existing Table

You can also use Design View to edit any existing table. Whether the table was created in Design View or Datasheet View doesn't matter. Any table can be edited in Design View.

Now we will change some field properties to the table we created previously.

  1. What is Datasheet view and Design view?

    Right-click the Albums table in the left menu and select Design View from the contextual menu.

    This will open the table in Design View.

    You can also open Design View by:

    • Right-clicking on a table's tab (if the table's open)
    • Clicking the View button at the left of the Ribbon
    • Clicking the Design View icon in the bottom right corner of the window (the Datasheet View icon is on its left)

    You can switch back and forth between views at any time by using this method.

  2. What is Datasheet view and Design view?

    Set the AlbumName field to be a required field.

    Also set Allow Zero Length to No.

  3. What is Datasheet view and Design view?

    Set the ArtistId field to be a required field.