The first table's name is 'tblAfdelingenOpvTT'. This table includes the 'Naam afdeling' (=department) and 'Standaard telefoonnummer' (=phone number) fields.
The second table is called 'tblOpvTT' and has the fields 'Volgnummer' (=autonumber), 'Datum' (=Date), 'Naam afdeling' (=department), 'Naam personeelslid' (=name of a coworker) and 'Telefoonnummer' (=phone number field).
The form I'm using to insert the data is called 'frmOpvBijkomendeTT' and has the same fields as the table 'tblOpvTT' except for the 'Volgnummer' field that I did not include on the form.
I have build a subform on this form based on your idea that is called 'frmSubformAfdelingenOpvTT' and this one includes the fields 'Naam afdeling' (=department) and 'Standaard telefoonnummer' (=phone number).
Do you have all the data you need or do you need some more info? If I get it wright the phone number should be 'looked up' with a Naam_afdeling_after_update event.
Thanks again for trying to help me here...
|