Connecting Tech Pros Worldwide Help | Site Map

Help with blank fields

  #1  
Old December 30th, 2005, 03:35 PM
Shiny
Guest
 
Posts: n/a
Hi all,

I'm fairly new to Access and SQL.

My sense is that my question is fairly basic, but I still need help
with it.

I have a table with players who are listed either in the fields
'player1' or 'player2', depending on what position they played in a
game.

I used an outer join to join the table to itself and combine the two
fields into one ('players_all').

In about half the game reports, field2 is empty (there was only one
player). When I join the table, I get a long list of blank fields in
'players_all' where there was no second player listed.

How do I write a query to list only those records where players_all
contains a name?

Thanks!

  #2  
Old December 30th, 2005, 04:15 PM
Steve
Guest
 
Posts: n/a

re: Help with blank fields


SELECT * FROM tblTable WHERE tblTable.players_all Is Not Null;

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
sorting through text with blank fields just1812 answers 1 December 18th, 2007 11:21 PM
filered form shows blank fields fanis answers 4 January 21st, 2007 10:43 PM
Edit Template with blank fields MasterChief answers 1 February 2nd, 2006 07:05 PM
ordering records with blank fields last feel_free_to_spam_me@yahoo.com answers 3 November 3rd, 2005 04:15 PM