You are on page 1of 8

Use criteria in your Access 2013 queries

In the message bar, click Enable Editing,


then press F5 or click Slide Show > From Beginning to
start the course.
If the videos in this course dont play, you may
need to download QuickTime or just
switch to PowerPoint 2013.

Use criteria in your Access 2013 queries

Closed captions

Course
summary

Upyour
A
Here's
So,
I'll
Quotes
And,
Find
At
First,
Next,
That's
For
The
So
If
When
Also,
You
Now
and
Access
And
you
query
this
enter
now
next,
now
example,
let's
have
Data
when
to
finally,
the
let's
those
if
remember
I'll
make
I'll
you
don't
you
important
an
point,
find
text
your
won't
gives
are
let's
make
can
I'll
say
value
switch
'good,'
we'll
to
Type
say
example,
need
you
add
enter
are
run
the
sure
important,
criteria
when
know
enter
criteria
return
Ilook
you
it
do
when
you
want
look
sure
you
need
list
criteria
the
No
can
the
to
the
your
this
criteria
that
because
at
more
you
aneed
the
know
shows
values,
at
want
basics:
query,
a
has
to
the
help
you
query
data
a
value
some
don't
to
type
lot
for
criteria
how
query
find
entire
enter
and
to
filter
value
criteria
ato
filter
for
the
of
to
you.
type,
space
you
aof
match
to
in
more
data
and
to
filter
just
enter
data,
I'll
know
filter
Number
acriteria
that
or
data
criteria
date
my
Design
use
a
value
IDate/Time
the
explain
open
want
it
the
narrow
Date/Time
than
types
a
between
rules
data,
a
on,
returns
the
some
AND
type
Yes/No
valueday,
0.
assets
exists
for
or
to
won't
the
go
View,
just
data
control
that
when
and
down
of
Currency
set
usegoodis
rules
a
to
query's
just
field,
those,
asset
field.
the
Currency
multiple
in
in
type,
Design
field,
can
search
locate
for
when
OR
and
good
your
and
the
how
field
the
month,
you
logic
To
save
datasupplier
but
you
such
data
field,
how
Idata
the
practices
find
data.
for
view,
query
field.
condition.
you
click
words,
you're
surround
field,
1
with
you
surround
part
Condition
as
to
sourcethe
and
all
in
that
you
and
enter
away,
If
and
use
a
the
results,
some
you
multiple
the
filtering.
surround
itof
0
text
don't
year.
meet
that
doesn't,
work
enter
them
data,
your
a
Yes,
just
you
your
names,
date,
time.
value
field,
can
use
you
my
enter
values,
for
value
criteria.
and
as
tableclick
can
your
criteria
the
save
you
like
quotes
criteriaassets
can
in
all
Iand
condition,
go.
see
then
criteria
a
numbers.
criteria
with
types
this.
won't
use
enter
Date/Time
you
do
Access
with
I'll
around
pound
you
selection
some
of
the
note
get
with
in
apound
and
1,
see
No
the
field,
any
signs,
your
the
field,
in
so
the
criteria.
on.
name
surrounds
good
Criteria
trouble.
results.
signs,
values.
you
then
quotes.
like
databases
currency
so.
get
the
condition.
of
like
row
row.
an
the
Fields
symbols
this.
the
error
here?
fieldCondition.
MDBs,
criteria
tab.
message.
needed.
ACCDBs
with quotes.
and Access Apps.
Press F5 to start, Esc to stop

2
3:46

The basics

3
3:53

AND & OR

4
3:27

NOT & IN

1/4
videos

Summary

Feedback

3:06

Wildcards

Help

Help

Use criteria in your Access 2013 queries

Closed captions

Course
summary

Next,
The
But
click
Run
Now,
When
either
Then
...
But,
run
That
In
With
or
Put
So,
Also,
For
To
You
If
And
So
you
that
our
and
it
demonstrate
use
remember,
Ill
those
example,
as
another
the
what
can
previous
the
remember
costs
when
the
points
AND
OR
you
I'll
that
we'll
move
need
you
example,
the
amultiple
even
case,
query,
also
query,
put
rule
logic,
Criteria
are
if
can
logic,
may
Criteria
more
use
enter
you
look
you
multiple
to
way
the
them
though
put
you
of
the
video
how
you
use
the
data
if
multiple
and
put
seem
and
you
thumb,
OR
need
at
your
this,
price
than
assets
multiple
your
multiple
AND
row
basics
leave
can
as
on
do
key
row,
using
criteria
criteria,
it
showed
there's
is
don't
Access
date
many
I'll
data
of
returns
simple,
more
the
$700.
you
criteria,
criteria
tends
included
find
difference
have
or
'good'
if
criteria,
the
of
put
the
a
or
criteria
need
criteria
criteria,
filter
the
has
using
assets
on
query
than
the
AND
calls
put
Purchase
you
both
row
to
IN,
to
data
and
are
the
Or
here
to
be
for
result.
in
quotes
be
them
NOT,
you
how
...
and
one
AND
it
row
criteria
in
between
meet
on
in
doesn't
it
a
Or
exclusive,
make
for
assets
in
the
in
result
the
is,
good
naturally
the
OR
criteria?
row
to
good
beneath
LIKE,
Price
on
and
assets
the
really,
or
when
all
same
use
sure
criteria
same
the
on
and
row,
in
return
Condition
condition,
if
OR.
your
AND
condition
and
field,
it
a
good
the
Or
while
in
you
you
but
any
row,
single
meets
use
For
it,
it
row,
Or
good
criteria
BETWEEN
and
row,
Criteria
as
uses
enough
and
Access
use
there's
surround
condition
row,
rows
more
AND
OR
you
Access
field,
OR.
and
criteria
or
and
one
condition,
enter
number
AND
can
separated
to
and
beneath
below
need
information,
row
uses
data,
purchased
a
of
cost
be
operators.
be
logic,
catch.
a
uses
each
that
OR
the
to
and
included
greater-than
to,
inclusive;
AND
criteria.
it.
more
put
filter
logic.
or
conditionsit's
it,
cost
AND
as
and
one
run
by
that
your
logic.
Access
long
than
between
query
the
see
the
Iwith
more
It's
logic.
in
get
cost
criteria
itas
OR
a
query.
unavoidable,
the
$700.
can
pound
sign
the
uses
result.
results.
than
they
more
operator,
links
2011
return
same
and
on
in
OR
$700?
make
signs.
than
good
in
and
logic.
700.
result.
the
more
like
and
here's and
$700.
condition,
data.
separate
sense.
2015,
this.
course
how
summary
rows.
that
it works.
cost
slide.
more than $700.
Press F5 to start, Esc to stop

2
3:46

The basics

3
3:53

AND & OR

4
3:27

NOT & IN

2/4
videos

Summary

Feedback

3:06

Wildcards

Help

Help

Use criteria in your Access 2013 queries

Closed captions

Course
summary

Upaddition
In
We'll
Run
NOT
The
So
To
Either
Now
BETWEEN
For
You
This
And
and
find
for
next,
example,
can
IN
with
that's
this
the
if
you
since
example
IN
let's
start
you're
example,
character
operator
4/14,
names
'loading
also
query,
one
can
we'll
numbers,
take
look
we're
is
with
an
toalso
6/21,
use
do
filters
apply
working
new
if
LIKE
BETWEEN
inclusiveit
using
gives
see
that
at
that
and
you
the
the
dock,'
returns
IN
talking
returns
NOT
the
BETWEEN
handy
to
how
80,
and
450
contain
the
items
like
up
NOT
Ilook
you
AND
same
wildcards,
see
LIKE
in
with
with
a
AND
2/6
to
same
so.
and
about
all
800
4/14/2013
the
for
an
operator,
step
all
at
and
all
purchased
use
operator.
thing
will
returns
dates,
LIKE
values
asterisks
the
Access
items
dates
and
'first
800
same
assets
AND
ideas
OR
and
wildcards
greater-than
include
letter
Description
I'll
to
with
AND.
returns
floor,'
logic,
2000
that
like
add
and
result
that
and
discuss
find
all
App,
AND
that
to
This
after
or
greater-than,
X,
items
number
You
so,
the
times.
800
contain
in
are
data
you
with
returns
percent
aren't
enter
in
1/10/2015
remember
all
as
isthe
use
April
IN
them
criteria.
where
equal
and
items
field,
can
BETWEEN
and
purchased
that
parentheses,
operator.
Criteria
LIKE,
them
and
on
the
all
2000..
14.
also
signs,
less-than
in
you
doesn't
to
that
the
you
prices
letter,
less-than,
the
currency
returns
to
an
the
when
use
row,
can
loading
start
use
and
cost
returns
next
asterisk,
on
criteria
the
from
contain
no
see
signs,
quotes,
you
the
those
I'll
AND.
all
those
using
video.
fields.
matter
NOT,
enter
and
dock.
a
items
percent
all
800
need
you
lot
the
this
dates.
the
items
amounts,
wildcards.
equal
and
IN,
to
of
NOT
X,
specify.
where
purchased
to
criteria
letter.
2000,
names
LIKE
sign
and
commas
find
with
signs.
and
and
it
another
instead.
ranges
filters
80
'loading
occurs
with
BETWEEN
in
in
asthe
that
their
shown.
to
ofindata.
the
operators
dock'.
letter
asterisk.
name.
purchase
time
items
range.
X
bought
atprice.
in
various
your
before
criteria.
places.
April 14,
Press F5 to start, Esc to stop

2
3:46

The basics

3
3:53

AND & OR

4
3:27

NOT & IN

3/4
videos

Summary

Feedback

3:06

Wildcards

Help

Help

Use criteria in your Access 2013 queries

Closed captions

Course
summary

This
followed
and
The
Now,
Desktop
That's
I'm
but
So,
And
You
If
Finally,
For
Whats
It
So
Idoes
that's
change
working
example,
you've
remember
use
can
brackets,
asterisk
the
remember,
do
for
remember
example
the
because
that
more,
if
you
either
wildcards
each
use
dash
databasesMDB
by
it
you're
other
already
the
for
see
for
the
in
the
after
using
if
two
set
lets
matches
Ill
dash,
type
an
the
to
criteria
you
thing
Ithat
apps
letters
the
how
working
exclamation
remove
go
the
use
ACCDB
pound
you
the
in
basics
seen
of
pro
whenever
course
back
and
the
your
Apps
use
to
same
the
brackets
database,
specify
to
C
aand
remember
dash
how
asterisk
signs
the
in
pattern,
through
pound
this,
to
of
file,
other
criteria
and
don't
summary
waythe
an
an
using
Design
dash,
point
the
is
so
ait
IMDB
and
ACCDB
asterisk
returns
only
set
range
how
let
signs
needs
you
I'll
are
asterisk
asset
Q,
when
selection
the
or
is
an
you
when
use
view,
or
see
and
you
can
the
Access
syntax
has
the
under
asterisk
of
ACCDB
files
query
to.
the
returns
IDs
you
use
that
asset
characters.
then
wildcards.
specify
use
you're
and
links
caret
rest
that
criteria
the
only
the
set
is
supports
use
only
brackets
you
the
percent
file,
IDs
return
to
identicalyou
to
all
of
pound
start
of
working
hood
aknow
the
aexclude
rest
the
returns
can
descriptions
that
range
you
characters,
lot
in
The
set
with
all
value,
your
two
for
sign,
of
see
more
to
sign
part
can
don't
brackets
descriptions
in
of
on
the
match
something
values
R,
sets
characters,
Access
use
queries,
an
as
values.
of
which
the
information.
and
have
value.
just
aa
app.
of
that
the
value,
left,
any
wildcard?
that
If
match
wildcard
use
has
find
the
Ipound
begin
remove
character
and
else.
that
contain
different
letter
sort
added
all
orany
Access
you
characters
start
with
sign
characters.
ofB.
single
it,
the
like
need
Cor
to
pro.
Iwith
or
get
Apps
LIKE
range
a
return
Q.
NOT
to
two
no
atfind
of
a
values
characters
results.
web
the
characters.
single
numbers.
operator.
beginning
databases
numeric
thatinside
match
or
character.
end
use
them,
a pattern.
of
the
a set
value.
on the right.
Press F5 to start, Esc to stop

2
3:46

The basics

3
3:53

AND & OR

4
3:27

NOT & IN

4/4
videos

Summary

Feedback

3:06

Wildcards

Help

Help

Help
Course
summaryUse criteria in your Access 2013 queries

Add a criteria

See also

Open the query in Design view. In the field


you want to filter, add criteria to the Criteria
row, or the or row.

Basic rules
Surround text criteria with double quotes.
Don't surround numbers with anything.
Surround dates and times with pound signs.
Use. Y, N, 1, or 0 to filter Yes/No fields (works
with all types of databases).

And/Or
For AND logic, place all criteria on the same
criteria row or the same or row. For OR logic,
place criteria on different rows.

NOT, IN, LIKE, BETWEEN


NOT returns all values that don't match your
criteria. IN returns all values that match your
criteria. LIKE lets you use wildcard characters.
BETWEEN and AND let you filter for a range of
data.

Course summary

Applying criteria to a query


Apply criteria to text values
Using dates as criteria in Acce
ss queries
Examples of query criteria
Add or remove a query criteria
row
The OR criteria row lets you us
e alternate conditions to find
information
Use Like criterion to locate dat
a
Access wildcard character refe
rence
Examples of wildcard characte
rs
More training courses
Office Compatibility Pack

Wildcards
See links on this slide for information about
using wildcards in criteria. Use the ANSI-89
characters for MDB and ACCDB files; ANSI-92
for Access Apps.

Press F5 to start, Esc to stop

2
3:46

The basics

3
3:53

AND & OR

4
3:27

NOT & IN

Summary

Feedback

Help

3:06

Wildcards

Help and comments


Rating

Course summary

Thank you for viewing this course!


How did we do? Please tell us what you think
Check out more cour
ses

Press F5 to start, Esc to stop

2
3:46

The basics

3
3:53

AND & OR

4
3:27

NOT & IN

Summary

Feedback

Help

3:06

Wildcards

Help

Course summary

Using PowerPoints video controls


Point at the bottom edge of any video to start, stop, pause, or rewind. You drag to
rewind.

Stopping a course
If youre viewing online, click your browsers Back button. If youre viewing offline,
press Esc. If youre watching a video, press Esc once to stop the video, again to stop
the course.

Going places

You can go to any part of a course by clicking the thumbnails (light or shaded)
below the video. You can also click the forward and back arrows, or press Page Up
or Page Down.

If you download a course and the videos dont play

Click Enable Editing


if you see that button. If that doesnt work, you may have
PowerPoint 2007 or earlier. If you do, you need to get the PowerPoint Viewer . If you have
PowerPoint 2010, you need the QuickTime player, or you can upgrade to PowerPoint 2013 .

Press F5 to start, Esc to stop

2
3:46

The basics

3
3:53

AND & OR

4
3:27

NOT & IN

Summary

Feedback

Help

3:06

Wildcards

You might also like