Microsoft KB Archive/95906

{|
 * width="100%"|

PRB: Scroll Bars Are Displayed for a Subform in Datasheet View
'Article ID: Q95906

Creation Date: 01-MAR-1993

Revision Date: 01-DEC-1996' The information in this article applies to:


 * Microsoft Access versions 1.0, 1.1, 2.0, 7.0, 97

SYMPTOMS

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

If you set the ScrollBars property to Neither on a subform, the scroll bars may not be disabled in Datasheet view.

CAUSE

This will happen because you have more information than will fit in the frame created for the subform. Therefore, Microsoft Access creates scroll bars so that you can view all the data. If your frame is larger than the amount of data that will be shown in your subform, the scroll bars will be correctly disabled.

RESOLUTION

Make the frame for your subform large enough to hold all the data that will be displayed within the datasheet.

MORE INFORMATION

Steps to Reproduce Behavior


 * 1) Create a subform.
 * 2) Switch the DefaultView property to Datasheet and set the ScrollBars property to Neither.
 * 3) Add the subform to a main form.
 * 4) Switch to Form view. Note that the scroll bars still appear.
 * }

-

"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.

''

KBCategory: kbusage

KBSubcategory: FmsSubf

Additional reference words: 1.00 1.10 2.00 7.00 97 8.00