Perform common tasks by using the keyboard

Use the keyboard to copy or place controls

Copy a text box or another control on a form or report

  1. Open the form or report in Design view.
  2. Press ALT.
  3. Press CTRL+TAB until the Object box on the Formatting (Form/Report) toolbar has the focus, and then press ENTER.
  4. Press F4 to open the Object box.
  5. Press the DOWN ARROW key to select the control, and then press ENTER.
  6. Press CTRL+C to copy the control to the Clipboard.
  7. Repeat steps 1 through 3 to open the Object box again.
  8. Press the DOWN ARROW key to select the section, and then press ENTER.
  9. Press CTRL+V to paste the control in the upper-left corner of the section. To paste multiple copies, press CTRL+V repeatedly.
  10. Press the ARROW keys to move the control and SHIFT+ARROW to resize the control as needed.

Place a text box or another control on a form or report

  1. Open the form or report in Design view.
  2. Press ALT.
  3. Press CTRL+TAB repeatedly until the focus on the toolbox.

    Note   If the toolbox is not displayed, press ALT+V to display the View menu and then press X to display the toolbox.

  4. Press TAB repeatedly until you select the desired control.
  5. Press SHIFT+ENTER to add the control to the form or report's detail section.
  6. Make sure the control is still selected, and press ALT+V+P to display the control's property sheet. Then, press CTRL+TAB until the All tab is selected.
  7. Use the ARROW keys to move to the Left and Top property settings, and then adjust the control to the desired location on the form or report. Press ALT+F4 to close the property sheet. Alternatively, you can press the ARROW keys to manually move the control and SHIFT+ARROW to resize the control as needed.

Place a text box or another control on a data access page

  1. Open the data access page in Design view.
  2. Press ALT.
  3. Press CTRL+TAB to put the focus on the toolbox.

    Note   If the toolbox is not displayed, press the access keys ALT+V+X.

  4. Press TAB repeatedly until you select the desired control.
  5. Press SHIFT+ENTER to add the control to the upper-left corner of the selected section.
  6. Make sure the control is still selected, and then press the access keys ALT+V+P to display the control's property sheet. Then, press CTRL+TAB to select the All tab.
  7. Adjust the Left and Top property settings to move the control to the desired location on the form or report, and then press ALT+F4 to close the property sheet. Alternatively, press CTRL+ARROW to manually move the control.

Use the keyboard in Datasheet view

Rearrange columns in Datasheet view by using the keyboard

  1. Move the insertion point to a field in the column of the datasheet or subdatasheet you want to move.
  2. If the entire field is not already highlighted, press F2.
  3. To select the entire column, press CTRL+SPACEBAR. You can select more than one column by pressing SHIFT+LEFT ARROW or SHIFT+RIGHT ARROW. (This has to be done before you enter Move mode.)
  4. To turn on Move mode, press CTRL+SHIFT+F8.
  5. Do one of the following:
  6. To turn off Move mode, press ESC.

Manage relationships by using the keyboard

You can use the keyboard to create and customize the relationships between your tables in a database. You can also create relationships for queries as well as tables, although referential integrity isn't enforced with queries.

Note  In the steps below, you can use the TAB key to move between selections in a dialog box, unless otherwise specified.

Define relationships by using the keyboard

  1. Close any tables that you have open. You can't create or modify relationships between open tables.
  2. If you haven't already done so, switch to the Database window. You can press F11 to switch to the Database window from any other window.
  3. Press ALT+T to select the Tools menu, and then press R to open the Relationships window.
  4. If your database doesn't have any relationships defined, the Show Table dialog box appears automatically. If you need to add the tables that you want to relate and the Show Table dialog box does not appear, press ALT+R to select the Relationships menu, and then press T to open the Show Table dialog box. If the tables that you want to relate already appear in the Relationships window, skip to step 7.
  5. In the Show Table dialog box, select the first table that you want to relate, and then press ENTER to add it to the Relationships window.
  6. Repeat step 5 for any other tables you want to relate. Use the DOWN ARROW key to select the table, and then press ALT+C to close the Show Table dialog box.
  7. Press ALT+R to select the Relationships menu, and then press R to open the Edit Relationships dialog box.
  8. Press ALT+N to open the Create New dialog box.
  9. In the Left Table Name box, use the DOWN ARROW key to select the name of the table that contains the primary key.
  10. In the Right Table Name box, select the name of the table that contains the foreign key.
  11. In the Left Column Name box, select the primary key field, and in the Right Column Name box, select the foreign key field.

    Notes

    • The related fields don't have to have the same names, but they must have the same data type and contain the same kind of information.

    • When the matching fields are Number fields, they must have the same FieldSize property setting.

    • There are two exceptions to matching data types: you can match an AutoNumber field with a Number field whose FieldSize property is set to Long Integer; and you can match an AutoNumber field with a Number field if the FieldSize property for both fields is set to Replication ID.

  12. Press ENTER.
  13. In the Edit Relationships dialog box, use the arrow keys to make sure that the two columns contain the field names you want; you can change them if necessary, or you can specify additional fields if you are using a multiple-field primary key.

    Set relationship options if necessary. For information about a specific item in the Relationships dialog box, select the item and then press F1.

  14. Press ALT+C to create the relationship.
  15. Repeat steps 5 through 14 for each pair of tables you want to relate.

Notes

Edit or delete a relationship by using the keyboard

  1. Close any tables that you have open. You can't modify or delete relationships between open tables.
  2. If you haven't already done so, switch to the Database window. You can press F11 to switch to the Database window from any other window.
  3. Press ALT+T to select the Tools menu, and then press R to open the Relationships window.
  4. Press ALT+R to select the Relationships menu, and then press R to open the Edit Relationships dialog box.
  5. Press ALT+T. In the Table/Query box, press the F4 key, and use the DOWN ARROW key to select the name of the table that contains the primary key, and then make sure that the appropriate table appears in the Related Table/Query box.
  6. Set the relationship options if necessary. For more information about a specific item in the Relationships dialog box, select the item, and then press F1.
  7. If you want to delete the relationship, press ENTER, and then press DELETE.

Define the default join type in a relationship by using the keyboard

  1. Press F11 to switch to the Database window from any other window.
  2. Press ALT+T to select the Tools menu, and then press R to open the Relationships window.
  3. Press ALT+R to select the Relationships menu, and then press R to open the Edit Relationships dialog box.
  4. Press ALT+T. Press F4 to open the Table/Query box, select the name of the table that contains the primary key, and then select the appropriate table in the Related Table/Query box.
  5. Press ALT+J. In the Join Properties dialog box, select the desired join type.

    Option 1 defines an inner join. This is the default.

    Option 2 defines a left outer join.

    Option 3 defines a right outer join.

Notes