Okay if it can record after you have formatted it in camera or on PC, then it should be fine, then it is probably a setting.
A dashcam overwriting old footage is sort of the primary feature of a dashcam, along with starting and stopping to record automatic with the key of your car.