K
Kelly
I have a query which gets information from my [Tbldata].
It is set up to give me the last two records of those
requested and would look like this
DataID FilterName RowNumber SectorNumber Date
46 #1 Zinc 03 05 10-Jan-04
22 #1 Zinc 03 05 2-Jan-04
I need to get the DateDiff (or number of days) between
these two dates which could be 20 records apart in the
underlying table. I have a Module that finds
the 'PrevRecVal' based in the [ID]. This however, picks up
the the next value in the table. I need to work with only
the dates that appear in the query. There is only one date
field in the database as only the change date is required.
Any insights as to how to do this would be appreciated.
Thanks.....kbe
It is set up to give me the last two records of those
requested and would look like this
DataID FilterName RowNumber SectorNumber Date
46 #1 Zinc 03 05 10-Jan-04
22 #1 Zinc 03 05 2-Jan-04
I need to get the DateDiff (or number of days) between
these two dates which could be 20 records apart in the
underlying table. I have a Module that finds
the 'PrevRecVal' based in the [ID]. This however, picks up
the the next value in the table. I need to work with only
the dates that appear in the query. There is only one date
field in the database as only the change date is required.
Any insights as to how to do this would be appreciated.
Thanks.....kbe