Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Oct 2005
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Is Not Null (Access 2000)

    How can i write in the report the condition that both the controls students and banks are not blank ? Why is the folloiwng code not valid ?
    If is Not Null Me!students And Me!banks Then

  2. #2
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Is Not Null (Access 2000)

    you wrote: If is Not Null Me!students And Me!banks Then

    needs to be: if Me!Students is not null AND Me!banks is not null then
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

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

    Re: Is Not Null (Access 2000)

    Or in VBA:

    If Not IsNull(Me!Students) And Not IsNull(Me!Banks) Then

Posting Permissions

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