ACC2: Find Record Wizard Command Button Has Options DisabledLast reviewed: May 14, 1997Article ID: Q126866 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you choose a Find Record command button that you created with the Command Button Wizard, the Search In option buttons and the Search Fields As Formatted check box are unavailable in the Find dialog box.
CAUSEWhen you choose the command button, the command button receives the focus. The Search In option buttons and the Search Fields As Formatted check box are available only when the Find dialog box is invoked from a text box that is based on a field.
RESOLUTIONAdd the following line to the code that is generated by the Command Button Wizard so that the focus is returned to the control that had the focus before you chose the command button:
Screen.PreviousControl.SetFocusTo add this code, follow these steps:
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access version 2.0. This problem no longer occurs in Microsoft Access version 7.0. |
Keywords : kbusage WzProb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |