Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ACC2000: Empty Subforms Are Not Visible in Print Preview


View products that this article applies to.

Symptoms

When you preview a form that contains a subform, the subform area is blank. However, you can see the subform control when you open the main form in Design view.

↑ Back to the top


Cause

If you have a subform that does not contain any data, the subform appears in Form view with the structure only. However, no part of the subform is visible when you preview the form.

This behavior also occurs if the DataEntry property of the subform is set to Yes. When you preview a form, you are opening it. Because the subform is opening in data entry mode, it does not contain any data.

↑ Back to the top


More information

Steps to Reproduce Behavior

CAUTION: If you follow the steps in this example, you modify the sample database Northwind.mdb. You may want to back up the Northwind.mdb file and follow these steps on a copy of the database.

  1. Open the sample database Northwind.mdb.
  2. Open the Orders Subform in Design view.
  3. Set the form's DataEntry property to Yes.
  4. Save the form and close it.
  5. Open the Orders form in Form view. Note the appearance of the Orders Subform on the form.
  6. Open the Orders form in Print Preview. Note that the portion of the form containing the Orders Subform is blank.

↑ Back to the top


Keywords: KB209578, kbprb

↑ Back to the top

Article Info
Article ID : 209578
Revision : 2
Created on : 6/24/2004
Published on : 6/24/2004
Exists online : False
Views : 282