I know how to save a value from the current record so that when the report moves to the next record I can use the value I saved to compare it to the current record.
What if I need to compare a value in the current record to a value in the NEXT record, BEFORE the report moves to the NEXT record. Is there a way to retrieve a field value from the NEXT record?
I am trying to turn-on the detail footer if the next records date field is more than 30 days beyond the current records date field. Once I move to the next record in the report it is too late to turn on the footer for the previous record. I tried using a detail header section but turning that on/off programatically seems to cause Access all sorts of problems with formatting.
What if I need to compare a value in the current record to a value in the NEXT record, BEFORE the report moves to the NEXT record. Is there a way to retrieve a field value from the NEXT record?
I am trying to turn-on the detail footer if the next records date field is more than 30 days beyond the current records date field. Once I move to the next record in the report it is too late to turn on the footer for the previous record. I tried using a detail header section but turning that on/off programatically seems to cause Access all sorts of problems with formatting.