Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2003
    Posts
    160

    Unanswered: Making query for fields having data

    Hi!

    I am using MS Access database as back end and asp for front end. I Want to display fields from table that have only data not the fileds with null data.

    Any Help

    Thanks
    Vad

  2. #2
    Join Date
    Jul 2003
    Location
    Michigan
    Posts
    1,941
    Your question is a little vague, but I'll take a stab at it....

    SELECT Table1.*
    FROM Table1
    WHERE ((Not (Table1.Field3) Is Null))

    Mark
    Inspiration Through Fermentation

  3. #3
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    mark, nice try, you're right, it is a bit vague

    however, your solution drops entire rows if field3 is null, and i think vad wants all rows, but just don't display the null fields


    vad, if a field is null, and you try to display it, what do you see?

    since you're using ASP, i would suggest that you do the filtering there

    rudy
    http://r937.com/

Posting Permissions

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