T
tm5
Can someone please show me how to hide all columns when it is null using VBA
code. I am using a form in datasheet view. I am trying to hide all columns
that are null and display all columns that are not null. I have tried the
following in the Form_Current event and it does not work. Listed below is
one of the column names on the form. Please Help!!!
If IsNull(Me![51712desc]) = True Then
Me![51712desc].ColumnHidden = True
Else
Me![51712desc].ColumnHidden = False
End If
code. I am using a form in datasheet view. I am trying to hide all columns
that are null and display all columns that are not null. I have tried the
following in the Form_Current event and it does not work. Listed below is
one of the column names on the form. Please Help!!!
If IsNull(Me![51712desc]) = True Then
Me![51712desc].ColumnHidden = True
Else
Me![51712desc].ColumnHidden = False
End If