Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preview the report after adding the Event Procedure

Status
Not open for further replies.

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top