G
Guest
I am trying to creat a new field [cp] that is an integer based on the data of
records in a database. If i write the query as:
CP:IIF([date] >5/29/2002,1)
then the query works fine and returns a 1 for all observations that have a
date < 5/29/2002. However if i want to write:
CP:IIF([date] between 5/29/2002 and 6/17/2002,1)
Then the query returns blank cells for the field CP, even though there are
definitely dates within that range.
I get the feeling I am doing something wrong that might be quite simple to
fix, but can not find anything in the help menu and ACCESS does not give me
any error messages.
records in a database. If i write the query as:
CP:IIF([date] >5/29/2002,1)
then the query works fine and returns a 1 for all observations that have a
date < 5/29/2002. However if i want to write:
CP:IIF([date] between 5/29/2002 and 6/17/2002,1)
Then the query returns blank cells for the field CP, even though there are
definitely dates within that range.
I get the feeling I am doing something wrong that might be quite simple to
fix, but can not find anything in the help menu and ACCESS does not give me
any error messages.