Box to apear in Subform

S

Simon

I have a report with a subreport that shows products in a list and i
would like a box to aprear next to it if a product code is displayed

I have the following VB code but can not get it to work

Private Sub Report_Open(Cancel As Integer)
If Me.ProductCode Is Null Then
Me.Box.Visible = True
End If
End Sub


Could any one tell me what i have done wrong

Thanks very much
 
Top