Criteria- Help Please

G

Guest

I have a query setup with a field for emplyee IDs. I want to be able to retreive one employee at a time or view them all at once. My first criteria states [Please Type EmployeeID:] and that allows me to enter an employee id to pull up that specific record. However, i'm not sure what to put in the "Or" criteria to be able to retreive all employee data at once. Please assis

Thanks
Ray
 
F

fredg

I have a query setup with a field for emplyee IDs. I want to be able
to retreive one employee at a time or view them all at once. My
first criteria states [Please Type EmployeeID:] and that allows me
to enter an employee id to pull up that specific record. However,
i'm not sure what to put in the "Or" criteria to be able to
retreive all employee data at once. Please assist

Thanks, Ray

Like IIf(IsNull([Enter ID]),"*",[Enter ID])

Either don't enter anything and get all records, or enter just the one
ID and get that one record.
 

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