C
ChuckW
Hi,
I have a transaction table that has fields such as Date, TransactionNumber,
ItemNumber, Quantity and Amount. It is data taken from a transactional
system and imported in Access. The ItemNumber fields can have values of our
Item Numbers such as 3142 or it will have the value of Discount. What I want
to do is to somehow run a query that will replace Discount with the value
above it. So if there is one record with a value of 3142 in the ItemNumber
field and the next record has Discount in this field I want to change this
value to 3142. Ten records later there may be a value of 2080 in ItemNumber,
and the 11th record may have Discount. I want the Discount value in the 11th
record to be replaced by 2080. We could also run a query that provides this
value in a separate field rather than replacing it in ItemNumber. Can
someone help?
Thanks,
Chuck
I have a transaction table that has fields such as Date, TransactionNumber,
ItemNumber, Quantity and Amount. It is data taken from a transactional
system and imported in Access. The ItemNumber fields can have values of our
Item Numbers such as 3142 or it will have the value of Discount. What I want
to do is to somehow run a query that will replace Discount with the value
above it. So if there is one record with a value of 3142 in the ItemNumber
field and the next record has Discount in this field I want to change this
value to 3142. Ten records later there may be a value of 2080 in ItemNumber,
and the 11th record may have Discount. I want the Discount value in the 11th
record to be replaced by 2080. We could also run a query that provides this
value in a separate field rather than replacing it in ItemNumber. Can
someone help?
Thanks,
Chuck