A
Alicia
I know I'm being a pain but. I still can't get my query to do what I
need it to. It pull the date that contain dates within this month but
if an employee has a date that expires in this month it pulls all
dates for him accross the board.
Lincense Safety Card
Crane Certification Physical
test 1
9/3/08
8/4/08 5/7/08
test 2 9/28/08
Please help and keep in mind, I do not know that much about access.
I am a beginner so feel free to treat me like a two year old. I do
not have much experience.
SELECT Test.[ID], Test.[First Name], Test.[Last Name], Test.[Crane
Certification], Test.[Physical], Test.[Lincense], Test.[Safety Card]
FROM Test
WHERE ((Year([Lincense])=Year(Now()) And
Month([Lincense])=Month(Now()))) OR ((Year([Physical])=Year(Now())
And
Month([Physical])=Month(Now()))) OR ((Year([Crane
Certification])=Year(Now()) And Month([Crane
Certification])=Month(Now()))) OR ((Year([Safety Card])=Year(Now())
And Month([Safety Card])=Month(Now())));
need it to. It pull the date that contain dates within this month but
if an employee has a date that expires in this month it pulls all
dates for him accross the board.
Lincense Safety Card
Crane Certification Physical
test 1
9/3/08
8/4/08 5/7/08
test 2 9/28/08
Please help and keep in mind, I do not know that much about access.
I am a beginner so feel free to treat me like a two year old. I do
not have much experience.
SELECT Test.[ID], Test.[First Name], Test.[Last Name], Test.[Crane
Certification], Test.[Physical], Test.[Lincense], Test.[Safety Card]
FROM Test
WHERE ((Year([Lincense])=Year(Now()) And
Month([Lincense])=Month(Now()))) OR ((Year([Physical])=Year(Now())
And
Month([Physical])=Month(Now()))) OR ((Year([Crane
Certification])=Year(Now()) And Month([Crane
Certification])=Month(Now()))) OR ((Year([Safety Card])=Year(Now())
And Month([Safety Card])=Month(Now())));