I have a database designed to allow users to log staff absence and then query based on various criteria including large date ranges. At the moment, users select a staff name from a combo box and then enter the corresponding details.
An issue I have realised is in the case where a member of staff changes their name i.e. from marriage it will then make it difficult, if not impossible to query their past absence without searching by their old name and then their new one.
All staff are assigned a unique ID and this is already recorded within the "StaffData" therefore I am now looking for a way to reference all recorded absence by ID rather than name while still providing the user the ability to reference their entry by name when inputting.
Is there a way the value in a combo box can save a corresponding value from a query as the field data? I have spent a long while googling this issue but my main problem is that I am finding it very hard to concisely word my question!
Thanks in advance
An issue I have realised is in the case where a member of staff changes their name i.e. from marriage it will then make it difficult, if not impossible to query their past absence without searching by their old name and then their new one.
All staff are assigned a unique ID and this is already recorded within the "StaffData" therefore I am now looking for a way to reference all recorded absence by ID rather than name while still providing the user the ability to reference their entry by name when inputting.
Is there a way the value in a combo box can save a corresponding value from a query as the field data? I have spent a long while googling this issue but my main problem is that I am finding it very hard to concisely word my question!
Thanks in advance
