Using the Function Keys

Access assigns specific purposes to all 12 function keys of the 101-key extended keyboard. Some keys, such as Shift+F4 (which you press to find the next occurrence of a match with the Find dialog), derive from other Microsoft applications—in this case, Word for Windows. You combine function keys with the Shift, Alt, and Ctrl keys to enable users to perform as many as 96 functions.

Global Function Keys

Windows, rather than Access, uses global function-key assignments, except for F11 and Alt+F1, to perform identical functions in all Windows applications. Table 3.4 lists the global function-key assignments.

Table 3.4. Global Function-Key Assignments
KeyFunction
F1Displays context-sensitive help related to the present basic function and status of Access. If a context-sensitive help topic isn't available, F1 starts the Office Assistant (described later in this chapter).
Shift+F1Adds a question mark to the mouse pointer. Place the mouse pointer with the question mark over an object on-screen for which you want help, and then click.
Ctrl+F4Closes the active window.
Alt+F4Exits Access or closes a dialog if one is open.
Ctrl+F6Selects each open window in sequence as the active window.
F11 or Alt+F1Selects the Database window as the active window.
F12 or Alt+F2Opens the File Save As dialog.
Shift+F12 or Alt+Shift+F2Saves your open database; the equivalent of the File, Save menu choice.

Function-Key Assignments for Fields, Grids, and Text Boxes

Access assigns function-key combinations that arenOt reserved for global operations to actions specific to the basic function that you are performing at the moment. Table 3.5 lists the function-key combinations that apply to fields, grids, and text boxes. (To present complete information, this table repeats some information that appears in the previous tables.)

▸▸ See Using Keyboard Operations for Entering and Editing Data

Table 3.5. Function Keys for Fields, Grids, and Text Boxes
KeyFunction
F2Toggles between displaying the caret for editing and selecting the entire field.
Shift+F2Opens the Zoom box to make entering expressions and other text easier.
F4Opens a drop-down combo list or list box.
Shift+F4Finds the next occurrence of a match of the text entered in the Find or Replace dialog, if the dialog is closed.
F5Moves the caret to the record-number box. Enter the number of the record that you want to display.
F6In Table Design view, cycles between upper and lower parts of the window. In Form Design view, cycles through the header, body (detail section), and footer.
Shift+F6In Form Design view, cycles through the footer, body (detail section), and header, moving backward.
F7Starts the spelling checker.
F8Turns on Extend mode. Press F8 again to extend the selection to a word, the entire field, the whole record, and then all records.
Shift+F8Reverses the F8 selection process.
Ctrl+FOpens the Find dialog.
Ctrl+HOpens the Replace dialog.
Ctrl++ (plus sign)Adds a new record to the database.
Ctrl+- (minus sign)Deletes the current record.
Shift+EnterSaves changes to the active record in the database.
EscUndoes changes in the current record or field. By pressing Esc twice, you can undo changes in the current field and record. Also cancels extend mode.

Function Keys in the Module Window

You use the Module window when writing Access VBA code, which is the subject of this book's Part VII, "Programming and Converting Access Applications."Table 3.6 lists the purposes of the Module window's function keys. The Module window shares many of the characteristics of Windows's Notepad applet, including the F3 key, which you use for searching.

▸▸ See Exploring the Module Window

Table 3.6. Function Keys in the Module Window
KeyFunction
F1Displays context-sensitive help about the currently selected Access VBA keyword, dialog, or menu command
F2Opens the Object Browser dialog, which enables you to view Access objects and move among them and other applications that support VBA, including the applications' properties, controls, procedures, and methods
Shift+F2Goes to the procedure selected in the Module window
F3Finds the next occurrence of text specified in the Find or Replace dialog
Shift+F3Finds the preceding occurrence of text specified in the Find or Replace dialog
F5Continues executing code after a break condition
Shift+F5Resets the VBA interpreter, utilizing all variables
F6Cycles between upper and lower panes (if you have split the window)
F8Traces execution one step at a time (single step or Step Into mode)
Shift+F8Traces execution by procedure (procedure step or Step Over mode)
F9Toggles a breakpoint at the selected line
Shift+F9Creates an Instant Watch for the selected variable or expression
Ctrl+Shift+F9Clears all breakpoints
Ctrl+FOpens the Find dialog
Ctrl+GDisplays the Debug window
Ctrl+HOpens the Replace dialog
Ctrl+LDisplays the Calls dialog
Ctrl+MIndents selected lines
Ctrl+Shift+MRemoves indentation
Ctrl+YCuts the current line and copies it to the Clipboard
Ctrl+BreakHalts macro execution
Ctrl+↑Displays the previous procedure
Ctrl+↓Displays the next procedure

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.128.79.88