Most Cat-Eyes can be manually reset for the odometer (total distance) reading after a battery change but you have to know the mileage reading before you replace the battery. You also have to reenter the wheel calibration setting and clock setting but at least you can keep the total distance showing on the same cyclometer.
Most others I'm familiar with reset the odometer to zero after a battery change and there is nothing you can do the reenter the distance value.