Hi Rescobie,
Andrew Farmer Harley listed previously born Nov 1908, also died in Dunfermline in 1908, an infant.. It seems a little weird to us nowadays, but it was not uncommon to re-use a name, if the first child died.
There is a birth record for Andrew Clark Harley born 1918 in Dunfermline, although the record image is not viewable from ScotlandsPeople.
Does the marriage record from 1940 for Andrew Clark Harley list William HArley and Janet FArmer as his parents - if so, then he is still part of this family group.
Hope this helps, Lindsay