ACC: Using IsVisible Property to Show or Hide Report Controls (130366)
The information in this article applies to:
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
This article was previously published under Q130366
Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
Microsoft Access has an undocumented property named IsVisible for controls
in a report. IsVisible takes a True or False value depending on whether or
not the report control is being shown when its HideDuplicates property is
set to Yes. By using code, you can take advantage of the IsVisible
property to show or hide other controls in the report.
NOTE: The IsVisible property can be set only from the Print event
of the report section that contains the control.
This article assumes that you are familiar with Visual Basic for
Applications and with creating Microsoft Access applications using the
programming tools provided with Microsoft Access. For more information
about Visual Basic for Applications, please refer to the "Building
Applications" manual.
NOTE: Visual Basic for Applications (used in Microsoft Access version 7.0)
is called Access Basic in version 2.0.
REFERENCES
For more information about the HideDuplicates property, search for
How to hide duplicates in a report, and then HideDuplicates property
using the Answer Wizard from the Microsoft Access for Windows 95 Help menu.
For more information about the Visible property, search for Visible
Property and then Visible Property (Application Object) using the
Microsoft Access for Windows 95 Help Index.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbProgramming kbusage KB130366 |
---|
|