ACC: Unhide Columns Unavailable on Subform in Datasheet View
ID: Q160952
|
The information in this article applies to:
-
Microsoft Access versions 7.0, 97
SYMPTOMS
Novice: Requires knowledge of the user interface on single-user computers.
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
MORE INFORMATION
Steps to Reproduce Behavior
- Open the sample database Northwind.mdb.
- Open the Orders form in Form view.
- Place the insertion point in the Product field.
- On the Format menu, click Hide Columns. Note that the Product field
disappears.
- Click the Format menu, and note that Unhide Columns is dimmed.
REFERENCES
For more information about hiding columns, search the Help Index for
"hiding columns, datasheets," or ask the Microsoft Access 97 Office
Assistant.
Additional query words:
reveal show conceal gray grey
Keywords : FmsSubf FmsHowto
Version : 7.0 97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 30, 1999