Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calcualtion with previous and current record

Status
Not open for further replies.

Chance1234

IS-IT--Management
Jul 25, 2001
7,871
US
Hi

I have a table which looks somethign likt this

Date, Item, Total

I want to calculate the difference between each total compared to the previous days record , mind has gone blank on how to do this

help!
 
Asked and answered recenty. Do a search on "previous records" or "Previoous Record".

MichaelRed
mred@att.net

There is never time to do it right but there is always time to do it over
 
Hi what i did in the end was create two querys, the same and changed the names of the columns in one of the tables, then bought the two querys together and in the criteria of teh second date column[idate] i put [date]-1

that worked fine

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top