RE: Parameter Query- Query not using other criteria
- From: Brent <Brent@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 17 Jan 2007 07:37:01 -0800
Jerry,
I tried that and it appears to work. Thank you so much for the assistance.
This just made my day!
Thanks again,
Brent
"Jerry Whittle" wrote:
Under the Employee Number field put another Is Null right under the other Is.
Null
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.
"Brent" wrote:
Thanks for the reply Jerry.
I am learning to create databases on my own and I have no training other
than an Access book I picked up from a bookstore. The Criteria: Like [Enter
AOC] & "*"
and or: [Enter AOC] Is Null on the AOC field seems to be working fine.
It's just that a separate field, Employee Number, I just have a simple "Is
Null" criteria on it and it doesn't seem to be working when I don't put a
value in for the paramater on the other field. It's strange since those
feelds are unrelated other than the fact they are on the same table.
I look forward to a respones,
Brent
"Jerry Whittle" wrote:
Do you have Is Null under Employee Number once or twice? I'm thinking that
you need it on both the "Like [Enter AOC] & "*"" and "[Enter AOC] Is Null"
criteria lines.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.
"Brent" wrote:
I have a query in which i have multiple parameters being asked for for the
user. I am using the wildcard and the or statement so that if the user just
hits enter it will pull all records and I am having a problem with the query
ignoring the criteria on other fields.
For Example:
Field: AOC
Criteria: Like [Enter AOC] & "*"
or: [Enter AOC] Is Null
But when I hit Enter when it asks for entering the AOC the query seems to be
ignoring the criteria on other fileds such as:
Field: Employee Number
Criteria: Is Null
the query appears to be ignoring the criteria for [Employee Number]. and
will show every record instead of those that have null values.
Does anyone know why this happens and how I can stop it?
Thanks,
Brent
- Prev by Date: RE: Deleting commas in a field query
- Next by Date: RE: Deleting commas in a field query
- Previous by thread: RE: Deleting commas in a field query
- Next by thread: DLookup Problem
- Index(es):
Relevant Pages
|