W
Wim
Hi all,
In one of my tables I have a datefield, that contains the
expiration date of, say, unit prices. If the value is
NULL then the unit price still is valid. If it contains a
date, this price is valid until the expiration date.
However, I want to be able to follow prices in a certain
period.
e.g.
unit1 - BeginDate : 01 01 2003 - unitprice $1 - expiration
date : NULL (so price still valid)
unit2 - BeginDate : 01 01 2003 - unitprice $2 - expiration
date : 01 01 2004
unit2 - BeginDate : 01 01 2004 - unitprice $3 - expiration
date : NULL (so price still valid)
I want to be able to generate a rapport that gives me the
price for all units at, say, 01 08 2003. This 01 08 2003
comes from a form, and then passes the value to the
query. So it has to give me the value of te first two
lines.
However, I do not succeed, I get an invalid use of NULL.
Any ideas ?
Thanks in advance,
Wim
In one of my tables I have a datefield, that contains the
expiration date of, say, unit prices. If the value is
NULL then the unit price still is valid. If it contains a
date, this price is valid until the expiration date.
However, I want to be able to follow prices in a certain
period.
e.g.
unit1 - BeginDate : 01 01 2003 - unitprice $1 - expiration
date : NULL (so price still valid)
unit2 - BeginDate : 01 01 2003 - unitprice $2 - expiration
date : 01 01 2004
unit2 - BeginDate : 01 01 2004 - unitprice $3 - expiration
date : NULL (so price still valid)
I want to be able to generate a rapport that gives me the
price for all units at, say, 01 08 2003. This 01 08 2003
comes from a form, and then passes the value to the
query. So it has to give me the value of te first two
lines.
However, I do not succeed, I get an invalid use of NULL.
Any ideas ?
Thanks in advance,
Wim