to NOT show

  • Thread starter Thread starter Tammy
  • Start date Start date
T

Tammy

Hey there smart people!

I have a table of customers; there are certain customers I no longer want to
mail too; so in my labels query, how do I tell it I want to NOT show
CustomerID 350, 407, 405, 421, etc, etc.
 
The best way, as the list will continue to grow, is to add a flag field named
something like Inactive/Old/Archive as a Yes/No field. Then in your queries
use criteria on that field of 0 (zero) to show all active/now customers. To
show only inactive/old use -1 (minus one) and for all use no criteria.
 
Hey there smart people!

I have a table of customers; there are certain customers I no longer want to
mail too; so in my labels query, how do I tell it I want to NOT show
CustomerID 350, 407, 405, 421, etc, etc.

Karl's suggestion is a good one - having a list of meaningless ID's buried in
a query somewhere will become a maintenance headache! But if you want the
headache anyway, you can use a criterion

NOT IN(350, 407, 405, 421)
 

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

Back
Top