Microsoft KB Archive/97775

From BetaArchive Wiki

PRB: Subform Layout Changes Not Saved

Article ID: Q97775
Creation Date: 21-APR-1993
Revision Date: 19-SEP-1996 The information in this article applies to:

  • Microsoft Access versions 1.0, 1.1, 2.0

SYMPTOMS


Novice: Requires knowledge of the user interface on single-user computers.

If you have a form that contains a subform, and the subform is displayed in Datasheet view, modifications of the order or width of fields on the subform do not show up on the main form.

CAUSE


The modified subform has not been read by the main form.

RESOLUTION


There are two methods of working around this behavior. The first method is to close the main form, and then to open the subform from the Database window in Design view. Make changes to the subform, then save and close the subform. When you open the main form again, the modified subform will be displayed.

The second method is to open the subform from the main form's Design view. Make changes to the subform, and then save and close the subform. Click once in the subform control, and then press ENTER. The changes to the subform will show when you switch to the main form's Form view.

STATUS


This behavior no longer occurs in Microsoft Access for Windows 95 version 7.0.

MORE INFORMATION


Steps to Reproduce Behavior


  1. Start Microsoft Access and open the sample database NWIND.MDB.
  2. Open the Categories form in Form view.
  3. Modify the subform by decreasing the width of the Product Name field.
  4. Close the Categories form, and then open it again. Note that the changes to the subform do not appear.

REFERENCES

Microsoft Access "User's Guide," version 1.1, page 275



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" 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 link
KBCategory: kbusage
KBSubcategory: FmsSubf