My database uses a form that allows the user to choose an expense type from a list. Based on their selection in the afterupdate function, I populate a second combobox with values related to the first. If the first selection doesn't need to use the second combobox then I set its visibility off and store NA in its place. For some reason for which I cannot remember I have a temporary combobox (not visible) at the end which stores the users second selected item to write to the db. This all works fine until you start navigating through records.
If I look at a record I've set already the first combobox is correct but the second defaults to the default option for that list. It will not allow the vaules to be changed. As i navigate through my db I am changing all the second combobox items to their defaults.
I've been messing around with some succes. Firstly I removed the call to the function that generates the values in Form_OnCurrent. This solved some issues.
Problem now is when the user is on a record and tries to change the second combobox the list is empty.
If someone has some time I can PM the DB. I think I've exhausted all my abilities and I'm pointless playing with code frustrating myself.
Any help much appreciated