jasarmiento
New member
- Local time
- Today, 19:45
- Joined
- Jul 7, 2011
- Messages
- 2
Hi,
Hi,
I'm trying to create an Access query where some columns come from an existing table and one column has to bring information from a previous record in the table.
In the example Columns 1,2 & 3 come from an existaing table in my database. I have to create Coumn 4 wich contains the sales from the previos month:
Query
Column1 >>>>> Column2 >>>>> Column3 >>>>> Column4 (This is my question)
Company >>>>> Period >>>>>>> Sales >>>>>>> Sales n-1
XYZ >>>>>>>>> 1 >>>>>>>>>>> 100 >>>>>>>>> null
XYZ >>>>>>>>> 2>>>>>>>>>>> 200 >>>>>>>>100 (comes from period 1)
Thank you in advance
Hi,
I'm trying to create an Access query where some columns come from an existing table and one column has to bring information from a previous record in the table.
In the example Columns 1,2 & 3 come from an existaing table in my database. I have to create Coumn 4 wich contains the sales from the previos month:
Query
Column1 >>>>> Column2 >>>>> Column3 >>>>> Column4 (This is my question)
Company >>>>> Period >>>>>>> Sales >>>>>>> Sales n-1
XYZ >>>>>>>>> 1 >>>>>>>>>>> 100 >>>>>>>>> null
XYZ >>>>>>>>> 2>>>>>>>>>>> 200 >>>>>>>>100 (comes from period 1)
Thank you in advance