Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Sep 2002
    Posts
    81
    Thanks
    0
    Thanked 0 Times in 0 Posts

    visible control (Access 2000)

    i have a report in taular view. I have a control called Report and next to it a Visitdate. How can i make the control report invisible when the Visitdate is Null?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: visible control (Access 2000)

    Create code in the On Format event of the Detail section of the report:

    Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
    Me.Report.Visible = Not IsNull(Me.VisitDate)
    End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •