I am creating a choice box, this box has a list of staff that are available for work. Each staff member has a staff_id in the database. I can't figure out how to assign the staff_id to the choice box. I can add the name to the choices but how do I associate the staff_id?
I want to associate a human readable value like "Joe Shmoe" to a record id like 123.
I can't use the index of the choice box items as they aren't the same. I have been using the name of the staff to do queries, but it defeats the whole point of a staff_id in a db.
Any thoughts or suggestions would be greatly appreciated.
Brad
I want to associate a human readable value like "Joe Shmoe" to a record id like 123.
I can't use the index of the choice box items as they aren't the same. I have been using the name of the staff to do queries, but it defeats the whole point of a staff_id in a db.
Any thoughts or suggestions would be greatly appreciated.
Brad