delete records based on a header field