BUG: A control on a form or on a report that refers to a control on a subform or on a subreport is blank in Access 2003 (883867)
The information in this article applies to:
- Microsoft Office Access 2003
This article applies to a Microsoft Access database (.mdb) and a
Microsoft Access project (.adp).
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMSWhen you open a form
that contains a subform, you may notice that the control on the form that refers to the control on the subform is blank. When you open a report that contains a subreport, you may notice that the control on the report that refers to the control on the subreport is blank. You notice this behavior when the following conditions are
true: RESOLUTION To resolve this problem, you must install Microsoft Office 2003 Service
Pack 1 on your computer.
The following file is available for download from the Microsoft Download Center: WORKAROUNDTo work around this problem, you must modify the ControlSource property for the control on the form or on the report. You do this to provide a full reference to the control on the
subform or on the subreport, respectively. To refer to a control on the subform, you must include the .Form identifier in the expression that is entered as the ControlSource property for the corresponding control on the main form. For example, to display a value that is calculated in the OrderSubtotal control on the "Orders" subform, you must enter the following expression as the ControlSource property for the corresponding control on the "Orders" main form: =[Orders Subform].Form!OrderSubtotal Similarly, to refer to a control on the subreport, you must include the .Report identifier in the expression that is entered as the ControlSource property for the corresponding control on the main report. For example, to display a value that is calculated in the QuarterTotal control on the "Sales by Year" subreport, you must enter the following expression as the ControlSource property for the corresponding control on the "Sales by Year" main report:
=[Sales by Year Subreport].Report!QuarterTotal STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed in the "Applies to" section.REFERENCES
For more information about Microsoft Jet Expression Service Sandbox mode, click Microsoft Office Access Help on the Help menu, type about Microsoft Jet Expression Service Sandbox mode in the Search for box in the Assistance pane, and then click Start searching to view the topic.
For more information about referring to an object or to its properties in expressions, click Microsoft Office Access Help on the Help menu, type refer to objects in expressions in the Search for box in the Assistance pane, and then click Start searching to view the topic.
Modification Type: | Minor | Last Reviewed: | 8/29/2006 |
---|
Keywords: | kbdisplay kbReport kbForms kbtshoot kbbug KB883867 kbAudDeveloper |
---|
|