ACC: Unhide Columns Unavailable on Subform in Datasheet View (160952)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q160952 Novice: Requires knowledge of the user interface on single-user computers.
SYMPTOMS
When you open a form containing a subform that displays in Datasheet view,
you can hide columns on the subform by clicking Hide Columns on the Format
menu; however, you cannot unhide any columns because Unhide Columns is
always dimmed on the Format menu.
RESOLUTION
Use one of the following three methods to unhide the columns.
Method 1- Open the form containing the subform with hidden columns.
- On the subform, point to the left edge of the column heading that is
immediately to the right of the column you want to unhide. The pointer
becomes a cross with arrows that point left and right.
- Double-click while the pointer resembles a cross with left and right
arrows, and the hidden column appears. Drag the column border to the
desired width.
Method 2- Open the subform by itself in Datasheet view.
- On the Format menu, click Unhide Columns.
- Click the columns you want to unhide.
- Close the subform.
- Open the main form and note that the subform columns are no longer
hidden.
Method 3
You can unhide the column programmatically by setting the ColumnHidden
property to False for the hidden control on the subform, as in this code
sample:
Forms!Orders![Orders Subform].Form![ProductID].ColumnHidden = False
REFERENCES
For more information about hiding columns, search the Help Index for
"hiding columns, datasheets," or ask the Microsoft Access 97 Office
Assistant.
Modification Type: | Major | Last Reviewed: | 10/20/2003 |
---|
Keywords: | kbprb KB160952 |
---|
|