Just wondering, I have 2 forms one with a combobox on it. It is linked to an access database.
When I run it, by default I want the combobox to be blank. I have used this statement "ComboBox1.SelectedIndex = -1".
I run the main form which I have a for-next loop that accesses the other form. On the first loop it is blank,
when it loops again to load form2(with the combobox) the field is populated. Any help would be great.
Posted by: Paul MartzPost date: 2/2/2006 5:36:29 AM
Nothing jumps out at me on this one. SelectedIndex = -1 is correct as it deselects the currently selected item.
You're welcome to post your code if you'd like and I'll try to take a look at it.
Posted by: Jason NewellPost date: 2/5/2006 1:12:56 PM