Microsoft KB Archive/98795

{|
 * width="100%"|

PRB: Form May Lose the Focus When SHIFT+F8 Is Pressed
'Article ID: Q98795

Creation Date: 13-MAY-1993

Revision Date: 19-SEP-1996' The information in this article applies to:


 * Microsoft Access versions 1.0, 1.1, and 2.0

SYMPTOMS

When you press SHIFT+F8 to reverse an extend-mode selection, your insertion point may disappear and your form may no longer be selected.

CAUSE

This behavior occurs only when you have selected a record using the SHIFT+SPACEBAR key combination, rather than pressing the F8 key to turn extend mode on.

When you press F8, Microsoft Access saves information regarding the previous location of the focus, but not when you press SHIFT+SPACEBAR. Therefore, Microsoft Access is unable to return the focus to your form when you press SHIFT+F8.

RESOLUTION

Press F8 instead of SHIFT+SPACEBAR to select the record, or click anywhere on your form to recover the focus.

MORE INFORMATION

This behavior appears only in Form view, not in Datasheet view.

Pressing SHIFT+SPACEBAR selects the current record or cancels your record selection.

Pressing F8 turns extend mode on (EXT appears in the status bar). Once extend mode is on, repeatedly pressing F8 extends the selection to the word, the field, the single record, and finally to all records. Pressing SHIFT+F8 reverses the selection.

Steps to Reproduce Behavior


 * 1) Open the sample database NWIND.MDB.
 * 2) Open the Employees form.
 * 3) From the View menu, choose Datasheet.
 * 4) Press TAB to select the Last Name field (Davolio).
 * 5) Press SHIFT+SPACEBAR to select the entire record.
 * 6) Press SHIFT+F8 to cancel the selection. Note that the focus remains on the Last Name field.
 * 7) From the View menu, choose Form.
 * 8) Repeat steps 5-6 above. Note that the form no longer has the focus. Click anywhere on the form to restore the focus.

REFERENCES

For more information on selecting records, search for &quot;selecting records&quot; then &quot;Selection Keys&quot; using the Microsoft Access Help menu.
 * }

-

"THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY." '' ©1997 Microsoft Corporation. All rights reserved. Legal Notices.

''

Additional reference words: 1.00 1.10 2.00 cursor highlight blink

KBCategory: kbusage

KBSubcategory: FmsOthr