Changing Column Width and Row Height

One common problem with a table is that you can't see the complete contents of the fields. Fields often hold more data than will fit across a column's width. This causes the data in your table to appear to be cut off.

You can fix this problem in two ways: make the column wider so that it can display more data, or make the row taller so that it can display more than one line of data.

Changing Column Width

Access offers many ways to adjust column width in a table; you can choose the method you like best. One of the easiest ways to adjust the column width is to drag the column headings. Follow these steps:

  1. Position the mouse pointer between two field names (column headings) so that the pointer turns into a vertical line with left- and right-pointing arrows; this is the sizing tool (see Figure 8.1). You'll be adjusting the column on the left; the column on the right will move to accommodate it.

    Figure 8.1. Position the mouse pointer between two column headings.

    graphics/80fig01.jpg

  2. Click and hold the mouse button and drag the edge of the column to the right or left to increase or decrease the width.

  3. Release the mouse button when the column is the desired width.

Alternatively, you can double-click the column's vertical border when the sizing tool is showing, which automatically adjusts the width of the column on the left so that it accommodates the largest amount of data entered in that particular field.

Another, more precise, way to adjust column width is to use the Column Width dialog box. Follow these steps:

  1. Select the column(s) for which you want to adjust the width.

  2. From the Format menu, choose Column Width , or right-click and choose Column Width from the shortcut menu. The Column Width dialog box appears (see Figure 8.2).

    Figure 8.2. Adjust the column width precisely in the Column Width dialog box.

    graphics/80fig02.jpg

  3. Do one of the following to set the column width:

    • Adjust the column to exactly the width needed for the longest entry in it by clicking Best Fit .

    • Set the width to a precise number of field characters by typing a value in the Column Width text box.

    • Reset the column width to its default value by selecting the Standard Width check box.

  4. Click OK to apply the changes.

Because changing the width of a field column in the table is actually changing the field's length (which you designated in the Design view when you created the table), you do need to save these changes. Click the Save button on the Table Datasheet toolbar.

Changing Row Height

You can also change the height of the rows or records in the table. This allows you to see more text in a field that contains a large amount of data, such as a memo field.

graphics/cation_icon.gif

Adjusting One Row Height Adjusts Them All If you change the height of one row, it changes the height of all the rows or records in the table. Edit the row height only in cases where it allows you to see more data in a particular field for each record.


One way to make rows taller (or shorter) is to drag a particular row's border, enlarging the record's row. Position the mouse pointer between two rows in the row selection area, and then drag up or down. Remember that this changes the height of all the rows in the table (meaning all the records).

Another way is to use the Row Height dialog box. It works the same as the Column Width dialog box, except that no Best Fit option is available. Select the Format menu and then choose Row Height . The Row Height dialog box appears.

Enter the height for the table's rows into the dialog box (or click Standard Height to return the rows to the default height) and click OK .



Microsoft Office 2003 All-in-One
Microsoft Office 2003 All-in-One
ISBN: B005HKSHB2
EAN: N/A
Year: 2002
Pages: 660
Authors: Joe Habraken

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net