Not sure what is happening here. When I query the database I find every survey has an extra CENTRELINE row with all the fields containing NULL or zero values apart from the first row which I think has no centrelines as it’s the index file.

Test 2
Centreline IDSurvey IDNAMETITLE
21No Title
343119541954
32311954No Title
333119541954
38361954_ramps1954 Ramps
37361954_rampsNo Title
42401954-endloop1954-endloop
41401954-endloopNo Title
46441954_up_ramp1954
45441954_up_rampNo Title
5048nothing_to_be_proud_ofNothing to be proud of
4948nothing_to_be_proud_ofNo Title
8248221954_garden_extension1954 - Garden of Good and Evil extensions
8238221954_garden_extensionNo Title
10321030a65_highway_to_the_dalesdirty yorkshire habits
10311030a65_highway_to_the_dalesNo Title
12511250aah_distoNo Title
12521250aah_distoAah Disto
12551254ancestor_passageNo Title
12561254ancestor_passageAncestor Passage

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas@icloud.com

Exploring the World - One cave at a time