Deleting fields with query?

S

scott

I have a table with about 10 fields.....sometimes I only
use 2 of these fields and the other 8 fields are blank.

How would I build a query to only show those 2 fields that
have information in it and leave the other 8 fields off?

Thanks
Scott
 
J

John Vinson

I have a table with about 10 fields.....sometimes I only
use 2 of these fields and the other 8 fields are blank.

How would I build a query to only show those 2 fields that
have information in it and leave the other 8 fields off?

Umm... create a query selecting only those two fields!

If you mean that you want the query to dynamically change, so that
some records have two fields, and other records have six, and some
records have all ten - you can't. A Query must be homogenous; all the
records have the same "shape".

On a Report you can suppress the display of textboxes containing NULLs
- just set the CanGrow and CanShrink properties of the textbox to
True.
 

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

Top