I can't manage this: I have a table with one column with five records.
e.g. A1,A2,A3,A4,A5 I want a function to calculate A5-A4, A4-A3, A3-A2, A2-A1
Bill
You're treating an Access relational table as if it were an Excel
spreadsheet. It isn't.
Unlike a spreadsheet, a Table HAS NO ORDER. There *is* no row 1, row
2, row 3 in any usable manner - there is in fact no row-number field.
A Table should be considered an unordered "heap" of data.
If your table has some other field which defines the order of records,
you can use a Self Join query to link the table to itself, using
criteria on this order field to link each record to the preceding
record; or, you could export the table to Excel, where this process is
very easy (you've done it yourself in your question in fact).
John W. Vinson[MVP]