I have two columns in a query - OpgStock and ClgStock. I want OpgStock values
to be equal to ClgStock values of the previous records. Pls guide.
Pankaj,
How do you know which is the "previous record"? Does each record have a
DateCreated field or some such, to indicate their order? Or maybe a
sequential numbering system?

Signature
Steve Schapel, Microsoft Access MVP
> I have two columns in a query - OpgStock and ClgStock. I want OpgStock values
> to be equal to ClgStock values of the previous records. Pls guide.
Pankaj - 30 Apr 2006 11:31 GMT
Steve,
Thanx for response. The query does not have Id field and is sorted on a date
field. "Previous" means another field of a record that just precedes the
current record (to be updated).
Would like to add an auto numbering field in the query if you tell me how.

Signature
Pankaj
> Pankaj,
>
[quoted text clipped - 4 lines]
> > I have two columns in a query - OpgStock and ClgStock. I want OpgStock values
> > to be equal to ClgStock values of the previous records. Pls guide.