Guest_imported
New member
- Jan 1, 1970
- 0
Hi, All:
I'm trying to shrink the labels to controls that the values of the controls are NULL. In detail section - On Format - [Event Procedure]..., I added the following code that was posted in previous thread by Gord:
If IsNull(Me![NameOfFieldThatMightBeNull]) Then
Me![NameOfLabel].Visible = False
Else
Me![NameOfLabel].Visible = True
End If
But I could not preview the report after adding the code above.
Advice would be greatly appreciated.
Kay
I'm trying to shrink the labels to controls that the values of the controls are NULL. In detail section - On Format - [Event Procedure]..., I added the following code that was posted in previous thread by Gord:
If IsNull(Me![NameOfFieldThatMightBeNull]) Then
Me![NameOfLabel].Visible = False
Else
Me![NameOfLabel].Visible = True
End If
But I could not preview the report after adding the code above.
Advice would be greatly appreciated.
Kay