Results 1 to 4 of 4

Thread: I don't want null in my group...

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2001
    Posts
    57

    Post I don't want null in my group...

    Hello,

    How do you keep null out of a group?

    IE - Select fldNumber from tblNumbers group by count(fldNumbers)

    the problem is that there are some null values in fldNumbers, and I can't have null returned as a value.

    Please help!

  2. #2
    Lively Member
    Join Date
    Oct 2002
    Posts
    112
    Can you set the default value for the field to 0 then filter for values > 0 ?

    Alternatively search for values in that field that Is Not Null

    JFK

  3. #3
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478
    VB Code:
    1. Select fldNumber from tblNumbers Where not isnull(fldNumbers) group by count(fldNumbers)
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

  4. #4
    Hyperactive Member
    Join Date
    Nov 2002
    Location
    india
    Posts
    418
    hi,

    Select fldNumber from tblNumbers
    where fildNumber is not null
    group by count(fldNumbers)

Posting Permissions

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



Click Here to Expand Forum to Full Width