J
Joan
Hi,
Could someone tell me if there is a way to return a field value from a
previous record with WHERE criteria? What I need is the second to the last
Invoice recorded for a certain store. However, both invoices and
adjustments are recorded in the Transaction table where the distinguishing
field is Type. For invoices, [Type] = "INV" and for adjustments, [Type] =
"ADJ". Each record in the transaction table has a Date field. However,
since it is the second to the last record, the DMax() function using this
Date field will not work.
Joan
Could someone tell me if there is a way to return a field value from a
previous record with WHERE criteria? What I need is the second to the last
Invoice recorded for a certain store. However, both invoices and
adjustments are recorded in the Transaction table where the distinguishing
field is Type. For invoices, [Type] = "INV" and for adjustments, [Type] =
"ADJ". Each record in the transaction table has a Date field. However,
since it is the second to the last record, the DMax() function using this
Date field will not work.
Joan