Update query shift down by 1

BWI

Joined
Aug 13, 2008
Messages
1
Reaction score
0
I'm using MS Access trying to create an update query that shifts the data in a column down by 1 row.

Example DataTable:
column1 -- column2
data 1 -- other data1
data. 2 -- other data2
data(3) -- other data3

UPDATE DataTable SET DataTable.newcolumn1 = column1 [shifted down by 1 row];

newcolumn1 -- column2
Blank -- other data1
data 1 -- other data2
data. 2 -- other data3
data(3) --


It would also be great if I could reformat the data at the same time.
column1
data 1
data. 2
data(3)

newcolumn1
blank
data1
data2
data3

Any help would be appreciated!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top