FR 9840 then DS 1466 at Lisbon
Cologne → Lisbon → Geneva
Timetable, Lisbon time
23:30FR 9840 from Cologne at the gate
18:40DS 1466 to Geneva leaves the gate
19 h 10 apart on the timetable, overnight
DS 1466 leaves 19 h 10 after FR 9840 arrives on the timetable: more than half a day, so not a connection we count.