D
dnr
I appreciate any help with this, I am fairly new to writting programs etc.
In a database, I track data by a unique product lot number and the lot number
has the date imbedded in it, lets call the field name lot. An example lot
number is Z090112422 the format being Zyymmdd422. In a query called
QualityData in one field I have written:
date: CVdate(Mid([lot],4,2) & "/" & Mid([lot],6,2) & "/" & Mid([lot],2,2))
The query contains other fields - but this is the only one with any
expression. This expression displays above example as 1/12/2009.
I then create another query with the query QualityData as the source, I add
all of the fields but in the date field I have criteria to allow the user to
narrow the date range they are looking for. I have tried writting the
criteria many different ways but it does not narrow the values - it still
displays all the data. Here are some of the ways I have tried:
Between [#start#] And [#finish#] ( I enter 08/18/08 for start, and 01/09/09
for finish)
Between [start] And [finish] ( I enter 08/18/08 for start, and 01/09/09 for
finish)
">08/18/09"
Nothing has worked - please help not sure what to do...
Thanks
DNR
In a database, I track data by a unique product lot number and the lot number
has the date imbedded in it, lets call the field name lot. An example lot
number is Z090112422 the format being Zyymmdd422. In a query called
QualityData in one field I have written:
date: CVdate(Mid([lot],4,2) & "/" & Mid([lot],6,2) & "/" & Mid([lot],2,2))
The query contains other fields - but this is the only one with any
expression. This expression displays above example as 1/12/2009.
I then create another query with the query QualityData as the source, I add
all of the fields but in the date field I have criteria to allow the user to
narrow the date range they are looking for. I have tried writting the
criteria many different ways but it does not narrow the values - it still
displays all the data. Here are some of the ways I have tried:
Between [#start#] And [#finish#] ( I enter 08/18/08 for start, and 01/09/09
for finish)
Between [start] And [finish] ( I enter 08/18/08 for start, and 01/09/09 for
finish)
">08/18/09"
Nothing has worked - please help not sure what to do...
Thanks
DNR