Manipulating Table Columns and Rows

Manipulating Table Columns and Rows

When you refine a table s structure by adding fields and changing field properties in Design view, you are affecting the data that is stored in the table. But sometimes you will want to adjust the table itself to get a better view of the data. If you want to look up a phone number, for example, but the names and phone numbers are several columns apart, you will have to scroll the table window to get the information you need. You might want to rearrange columns or hide a few columns to be able to see the fields you are interested in at the same time.

You can manipulate the columns and rows of an Access table without in any way affecting the underlying data. You can size both rows and columns, and you can also hide, move, and freeze columns. You can save your table formatting so that the table will look the same the next time you open it, or you can discard your table adjustments without saving them.

In this exercise, you will open a table and manipulate its columns and rows. To make the value of table formatting more apparent, you will work with a version of the GardenCo database that has several tables containing many records.

USE the GardenCo database in the practice file folder for this topic. This practice file is located in the  My Documents\Microsoft Press\Office 2003 SBS\CreateNew\Manipulate folder and can also be accessed by clicking Start/All Programs/Microsoft Press/Microsoft Office System 2003 Step by Step .

OPEN the GardenCo database and acknowledge the safety warning, if necessary.

  1. On the Objects bar, click Tables .

  2. Double-click the Customers table to open it in Datasheet view.

  3. Drag the vertical bar at the right edge of the Address column header to the left until the column is about a half inch wide.

    click to expand

    The column is too narrow to display the entire address.

  4. Point to the vertical bar between the Address and City column headers, and double- click.

    The column to the left of the vertical bar is the minimum width that will display all the text in that field in all records. This technique is particularly useful in a large table where you can t easily determine the length of a field s longest entry.

  5. On the left side of the datasheet, drag the horizontal bar between any two record selectors downward to increase the height of all rows in the table.

    click to expand
  6. On the Format menu, click Row Height to display the Row Height dialog box.

  7. Select the Standard Height check box, and then click OK .

    The height of all rows is returned to the default setting. (You can also set the rows to any other height in this dialog box.)

  8. Click in the First Name column, and then on the Format menu, click Hide Columns .

    The First Name column disappears, and the columns to its right shift to the left. If you select several columns before clicking Hide Columns, they all disappear.


    You can select adjacent columns by clicking in the header of one, holding down the [SHIFT] key, and then clicking in the header of another. The two columns and any columns in between are selected.

  9. To restore the hidden field, on the Format menu, click Unhide Columns to display the Unhide Columns dialog box.

  10. Select the First Name check box, and then click Close .

    Access redisplays the First Name column.

  11. Drag the right side of the database window to the left to reduce its size so that you cannot see all fields in the table.

  12. Point to the Customer ID column header, hold down the mouse button, and drag through the First Name and Last Name column headers. Then with the three columns selected, on the Format menu, click Freeze Columns .

    The first three columns will remain in view when you scroll the window horizontally to view columns that are off the screen to the right.

  13. On the Format menu, click Unfreeze All Columns to restore the columns to their normal condition.

  14. Close the table without saving your changes.

CLOSE the GardenCo database.

start sidebar
Smart Tags

 New in Office 2003 ”Smart Tags    A smart tag appears as a shortcut menu that displays options pertinent to a specific word, field, or type of content. For example, if Word determines that several words you typed might be a person s name, it will place a purple dotted line beneath them. If you move the mouse pointer over the underlined words, Word displays a Smart Tag Actions button. When you click this button Word displays a list of possible actions that includes sending e-mail, scheduling a meeting, and adding to contacts.

Smart tags were introduced as part of Windows XP and were supported in some Office XP programs. With The Microsoft Office System 2003 they have been extended to Access.

When you create a table in Access, you can apply one or more smart tags to each field. When information from that field is displayed in a table, form, or query, and the mouse pointer is moved over the text, the Smart Tag Action button is displayed and some action can be taken that is appropriate for the kind of information.

There are not currently a lot of smart tags available for use in Access, but they are being created by third-party developers and made available on the Web.

For more information about smart tags, see .

end sidebar

Microsoft Office 2003 Step by Step
MicrosoftВ® Office ExcelВ® 2003 Step by Step (Step By Step (Microsoft))
ISBN: 0735615187
EAN: 2147483647
Year: 2005
Pages: 350
Authors: Curtis Frye

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: