Hello again,
I have a form to enter recipes. The ingredients for the recipe come from a table called "tblProducts". I need to be able to edit the recipes in the table so I have a ListBox at the top of the form. (See image below). My problem is this; When I dblClick the item, all fields are populating correctly except the ingredients. I have unhidden columns in the ListBox for trouble shooting purposes. I will only show the name and date. As you can see, the record number is correct and because the ListBox has the information, I assume that the problem lies with the underlying code of the ListBox (show below). FYI, I have code on the form initialization to populate the ComboBoxes for new entries, also included below. I have spent over 8 hours trying to find the problem so I need help.
RecipeForm.png
The code behind the ListBox is:
The code on the form initialization to populate the ingredient list boxes is: (it populates them ComboBoxes no problem but I'm not sure it doesn't interfere with populating from the listbox )
Bookmarks