ACC1x: Hidden Subform Maximized If Main Form Is MaximizedLast reviewed: June 9, 1997Article ID: Q99935 |
The information in this article applies to:
SYMPTOMSIn a main/subform combination where the main form is maximized and the subform is hidden, the subform returns maximized when it is made visible. This results in covering the entire main form.
RESOLUTIONBecause the Visible property is usually changed through a macro or function, work around this problem by adding steps to the process to restore the main form before the subform is made visible. Then, maximize the main form. An example of this workaround is detailed after the "Steps to Reproduce Problem" section below.
STATUSThis problem no longer occurs in Microsoft Access version 2.0.
MORE INFORMATIONYou can reproduce this problem by using the Orders form in the NWIND.MDB sample database. The following steps detail the macros necessary to reproduce this problem. The resolution to this sample problem is listed after the steps.
Steps to Reproduce Problem
To workaround this problem, change the Visible macro actions as follows:
Visible Macro Actions --------------------- Echo Echo On: No Restore Setvalue Item: Forms![orders]![orders subform].Form.Visible Expression: -1 Maximize Echo Echo On: Yes REFERENCES
Microsoft Access "User's Guide," Chapter 22, "Using Macros with Forms" |
Keywords : FmsSubf kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |