E
Eric A. Johnson
Hi Everyone,
I am at my wit's end here. I have a combobox (combyQueryTitle) that I
need to use in order to select a query for my database project. Therefore,
I am using the comboQueryTitle_SelectedIndexChanged handler to, when a new
selection is made, update the query and refresh the display. The only
problem is that the program seems to inexplicably start with the
..selectedindex property at -1! This makes no sense to me. Furthermore,
this is, apparently, happening *before* my form loads, as not only does the
form not appear on screen, but even when I put a breakpoint at the first
possible line within the form_load handler, it still crashes; the breakpoint
is never even reached. Is there a way to locate the point at which the
property is being changed to (or created with) the value of -1? It seems to
me that it should not happen at all.
Please respond here, if possible; if you need more info, you can reach
me via AIM at ajeric74. Thank you!
-- Eric
I am at my wit's end here. I have a combobox (combyQueryTitle) that I
need to use in order to select a query for my database project. Therefore,
I am using the comboQueryTitle_SelectedIndexChanged handler to, when a new
selection is made, update the query and refresh the display. The only
problem is that the program seems to inexplicably start with the
..selectedindex property at -1! This makes no sense to me. Furthermore,
this is, apparently, happening *before* my form loads, as not only does the
form not appear on screen, but even when I put a breakpoint at the first
possible line within the form_load handler, it still crashes; the breakpoint
is never even reached. Is there a way to locate the point at which the
property is being changed to (or created with) the value of -1? It seems to
me that it should not happen at all.
Please respond here, if possible; if you need more info, you can reach
me via AIM at ajeric74. Thank you!
-- Eric