# File lib/kirbybase.rb, line 978 def reset_recno_ctr(table) with_write_locked_table(table) do |fptr| encrypted, header_line = get_header_record(table, fptr) last_rec_no, rest_of_line = header_line.split('|', 2) write_header_record(table, fptr, ['%06d' % 0, rest_of_line].join('|')) return true end end