Inserimento valore automatico

Salve a tutti.
ho messo nella vista di un record di una tabella il dettaglio di un altra tabella collegata.
si vedono tutti correttamente ma vorrei che al momento dell’insert mi inserisca id del record che ho selezionato.
es. ho la “sede” con numsed “23” qui sono legate delle postazioni
A - n1 - numsed 23
B - n2 - numsed 23
C- n3 - numsed 23
se aggiungo una postazione vorrei che mi inserisca automaticamente “23”

Hello everyone.
I put the detail of another connected table in the view of a record of a table.
they can all be seen correctly but I would like you to insert the ID of the record I selected when inserting.
e.g. I have the “headquarters” with numsed “23” there are some stations linked to it
A - n1 - numsed 23
B - n2 - numbered 23
C- n3 - numsed 23
if I add a station I would like it to automatically insert “23”