P
pu5 via AccessMonster.com
I am currently generating a set of records from a table using a query. These
are grouped by equipment number in a report (example below)…
Equipment: 1250
02/14/05 repair detail…
04/13/05 repair detail…
05/25/05 repair detail…
Equipment: 1250-1
07/22/05 repair detail…
09/13/05 repair detail…
10/10/05 repair detail…
What I am trying to do is add a field that calculates the difference between
the dates by group (example below)…
Equipment: 1250
02/14/05 repair detail… 0 days
04/13/05 repair detail… 27 days
05/25/05 repair detail… 38 days
Equipment: 1250-1
07/22/05 repair detail… 0 days
09/13/05 repair detail… 53 days
10/10/05 repair detail… 27 days
I have tried to use DLookUp to identify previous record dates and then
subtract but have been unsuccessful. Does anyone have any ideas?
are grouped by equipment number in a report (example below)…
Equipment: 1250
02/14/05 repair detail…
04/13/05 repair detail…
05/25/05 repair detail…
Equipment: 1250-1
07/22/05 repair detail…
09/13/05 repair detail…
10/10/05 repair detail…
What I am trying to do is add a field that calculates the difference between
the dates by group (example below)…
Equipment: 1250
02/14/05 repair detail… 0 days
04/13/05 repair detail… 27 days
05/25/05 repair detail… 38 days
Equipment: 1250-1
07/22/05 repair detail… 0 days
09/13/05 repair detail… 53 days
10/10/05 repair detail… 27 days
I have tried to use DLookUp to identify previous record dates and then
subtract but have been unsuccessful. Does anyone have any ideas?