5 replies
Actually I would export the data to Excel. To calculate differences between consecutive records is very simple. To export to Excel is also easy. Just use Tools, office links. For your graphs this is again the best solution.
However if you insist doing it in Access, here is a first hint.
Suppose you have a very simple table named serie.
It has two fields, auto as auto-number field and a field time with a time notation.
Make a new query with two copies of this table. You will see a table serie and a table serie_1.
That is the trick.
The first field would be:
Diff: [serie]![time]-[serie_1]![time]
In properties show as time, with e,g. hh:mm
If you want to check your values, add the field time from serie and next time from serie_1.
The criteria for the file diff [which only exsists in your query] would be:
[serie]![auto]=[serie_1]![auto]-1
This will do the final trick.
Diff serie.time serie_1.time
0:43 12:00 12:43
0:27 12:43 13:10
0:45 13:10 13:55
The original table would hold:
auto time
1 12:00
2 12:43
3 13:10
4 13:55
Good luck.
by bridgit
by donq
by bridgit
by bridgit
This discussion is closed to new replies.
Trending Software posts
Sort by Trending