Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / April 2006

Tip: Looking for answers? Try searching our database.

Queries: Values from previous records

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pankaj - 29 Apr 2006 06:18 GMT
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.
Signature

Pankaj

Steve Schapel - 29 Apr 2006 23:42 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.