I have a form that has a listbox and the listbox value is from one of my table. What I want to do is get the id of the selected items and append it to one of the field on my table. But if multiple are selected on the listbox I want to assign the first id of the record on all of them.
For example if I select only one record/item, I only want to get the id of that record and append it to the code field of the record but if I selected 3 records/items I want to get the first selected record/item id and append it to the code field of the 3 records on the table.
Any help and suggestion is much appreciated.
Thank you in advanced.
For example if I select only one record/item, I only want to get the id of that record and append it to the code field of the record but if I selected 3 records/items I want to get the first selected record/item id and append it to the code field of the 3 records on the table.
Any help and suggestion is much appreciated.
Thank you in advanced.