showing all fields that are not blank

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a query with fields of job name, job number, bidder 1, bidder 2,
bidder 3, bidder 4. I want to be able to see the job number, name, for all
records in which fields bidder 1, bidder 2 or bidder 3 field has info
entered. Some records may have bidder 1 blank, but will have info in bidder
3.

What is the correct way to do this?
 
Gotcha. Thats what I am in the process of doing. Thanks for the website
link!!!!
 
I'm with Duane on this regarding normalization. But, assuming you are stuck
with the structure you have, try:

SELECT [Job Name], [Job Number], [Bidder 1], [Bidder 2], [Bidder 3], [Bidder
4]
FROM yourTableName
WHERE LEN([Bidder 1] & "") > 0
OR LEN([Bidder 2] & "") > 0
OR LEN([Bidder 3] & "") > 0
OR LEN([Bidder 4] & "") > 0


HTH
Dale
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top