A
Access''03_NewUser
Greetings forum members:
I have a simple inspection data table that contains the following five fields:
1. Primary Key
2. Asset ID (Duplicates OK)
3. Inspection Date
4. Start Value
5. Finish value
The data in this table must abide by the following rule:
For each Asset ID; The start value of the current inspection record must be
greater than or equal to the finish value of the previous inspection record.
(The previous record would be determined using the Inspection Date field)
My question is:
How can I reference the value from the previous inspection record, in order
to verify that this rule has not been broken?
PS. My first thought was to create a query and try to accomplish this within
a calculated field. I do not know how to reference a previous record,
however. Am I on the right track???
I have a simple inspection data table that contains the following five fields:
1. Primary Key
2. Asset ID (Duplicates OK)
3. Inspection Date
4. Start Value
5. Finish value
The data in this table must abide by the following rule:
For each Asset ID; The start value of the current inspection record must be
greater than or equal to the finish value of the previous inspection record.
(The previous record would be determined using the Inspection Date field)
My question is:
How can I reference the value from the previous inspection record, in order
to verify that this rule has not been broken?
PS. My first thought was to create a query and try to accomplish this within
a calculated field. I do not know how to reference a previous record,
however. Am I on the right track???