Hello,
I have a form with the following text boxes listed in a row:
Feature1
Feature2
Feature3
Feature4
I would like the visibility of any of these fields to be false if they are Null. I would also like to close the space between any field that is not visible. I can get the visibility to work, but I do not know how to compact the list. Eg. If Feature2 and Feature3 are Null, move Feature 4 up.
I am using the following code in the OnCurrent Event:
If IsNull(Me.Feature1) Then
Me.Feature1.Visible = False
Else
Me.Feature1.Visible = True
End If