Hi,
I have a list box and several fill-ins on my form. I have populated the list box with data, and when the user clicks on it I want to populate the fill-ins with the list box data. In my listbox click event I grab the data I need, setfocus to one of my fill-ins and assign the fill in a value. This fires the change event of that fill-in which crashes with a run-time error 2110, can't move the focus to the control field cLocation. (the change event just populates the rest of the fill-ins). The field is enabled but won't accept focus. I am fairly new to access so am really struggling. I'd appreciate some help here.
Regards
I have a list box and several fill-ins on my form. I have populated the list box with data, and when the user clicks on it I want to populate the fill-ins with the list box data. In my listbox click event I grab the data I need, setfocus to one of my fill-ins and assign the fill in a value. This fires the change event of that fill-in which crashes with a run-time error 2110, can't move the focus to the control field cLocation. (the change event just populates the rest of the fill-ins). The field is enabled but won't accept focus. I am fairly new to access so am really struggling. I'd appreciate some help here.
Regards