Date fields in query (1 Viewer)

ponneri

Registered User.
Local time
Today, 17:43
Joined
Jul 8, 2008
Messages
102
Hi All.

I'm going numb on this. Sound's silly but I'm stuck.

I need to fetch records from a table using a query.A file moves from one officer to another and I track it using Access 2010. My query is as

select file_no,file_name,off1_datein,off1_dateout,off2_datein,off2_dateout,....
from filetrack
where ( condition should be cleared by officer1 but not by officer2 )

This could extend to (cleared by officer1, cleared by officer2, but not by officer3)
etc.

I get too complex to evaluate error message. And does notnull, isempty etc work on dates ?

Please help soon.:banghead:
 

Minty

AWF VIP
Local time
Today, 13:13
Joined
Jul 26, 2013
Messages
10,366
You aren't storing those movement in a normalized fashion, one movement should be one record. You will find querying and reporting on your current structure a nightmare.

If it helps in a query you would normally use [Your Field] Is Null in the where clause not IsNull()
 

ponneri

Registered User.
Local time
Today, 17:43
Joined
Jul 8, 2008
Messages
102
Thanks a lot.
 

Users who are viewing this thread

Top Bottom