I have a datasheet form with combo box containing roles for employees e.g.
Role Name 01
Role Name 02
Role Name 03
Therefore, Combox RowSource = "Role Name 01, Role Name 02, Role Name 03" form table which has ID, RoleNames.
The combo box is bound to the database table.
The user creates 3 records for each of the Role above. On reading back the field shows each of the 3 Roles.
Later the employee's role is reduced by one. He/She now has 2 roles - Role Name 01 and Role Name 03. i.e. the combo box now has 2 items and not 3 as originally.
On reading back the 2 records 2 records containing the value Role Name 01 and Role Name 03 show up fine the field of the record containing the value Role Name 02 is blank, obviously because the combo box does not have this item any more.
Can someone please advise what is the best way for the previously recorded fields to still show up even thought the item does not exist in the combo box?
Role Name 01
Role Name 02
Role Name 03
Therefore, Combox RowSource = "Role Name 01, Role Name 02, Role Name 03" form table which has ID, RoleNames.
The combo box is bound to the database table.
The user creates 3 records for each of the Role above. On reading back the field shows each of the 3 Roles.
Later the employee's role is reduced by one. He/She now has 2 roles - Role Name 01 and Role Name 03. i.e. the combo box now has 2 items and not 3 as originally.
On reading back the 2 records 2 records containing the value Role Name 01 and Role Name 03 show up fine the field of the record containing the value Role Name 02 is blank, obviously because the combo box does not have this item any more.
Can someone please advise what is the best way for the previously recorded fields to still show up even thought the item does not exist in the combo box?