onload Change columns shown

S

Stephen Lynch

Is there a way to programatically only show the fields based on the
recordset on a datagrid.

For example, I have a subform that has a grid and on some screens I want to
show certain columns and others not.
 
S

Stephen Lynch

Figureed it out - hide column on load:

Forms!frmPlansMain![frmtblContributionssub].Form![PlanID].ColumnHidden =
True
 
Top