Box to apear in Subform

  • Thread starter Thread starter Simon
  • Start date Start date
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top