Query records and fields

A

Amateur

I have a query which is shown the customers of each salesman.
In that query is a field with the name "eurodeposit". I would like that, if
the field "eurodeposit" is emty, that the record of that customer is NOT
shown in the query.
Any idea how I can do that?
Thanks
Klaus
 
W

Wayne-I-M

Sorry I pressed enter too quick

Not Is Null in the criteria row.

I take it you have 2 tables
Salesman
Customer
Or something like this

Create a query with both table just showing the salesman ID and the customer
ID and the eurodeposit. Put Not Is Null in the criteria row of the
eurodeposit column.

Open another query with the new query you have just created and the salesman
table.
Take the customer ID from the new query and the saleman ID from the salesman
table. Plus any other data needed
 
J

John W. Vinson

I have a query which is shown the customers of each salesman.
In that query is a field with the name "eurodeposit". I would like that, if
the field "eurodeposit" is emty, that the record of that customer is NOT
shown in the query.
Any idea how I can do that?
Thanks
Klaus

Use a criterion of

IS NOT NULL

on the Criteria line under the eurodeposit field to limit records to those
which contain a value in that field.

John W. Vinson [MVP]
 

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