J
Jim Burke in Novi
I have a strange problem with a combo box. It sometimes does not show all of
the rows from the query that is used for the RowSource. In the Open Event of
the form, I set the RowSource to one of two queries, depending on a
variable's value. In the one case, the combobox always shows all rows. In the
other it only shows the first eight or nine. I went into debug mode to make
sure all the code was being run properly, and when I step throught the code
in debug mode all the rows show up! Then when I turn off all breakpoints it
goes back to showing only the first eight rows. I know that it sets the
RowSOurce query properly, and I checked the query to make sure it is OK.
PLus, like I said, it works OK when stepping through in debug mode. This
seems to have started happening when I changed the ListRows value. It had
always been set to the default of 8. I changed it to 15, and not long after
noticed that it wasn't displaying all the rows in the one case. Any idea
what's going on here?! I'm at a loss. Thanks for any help.
Jim B
the rows from the query that is used for the RowSource. In the Open Event of
the form, I set the RowSource to one of two queries, depending on a
variable's value. In the one case, the combobox always shows all rows. In the
other it only shows the first eight or nine. I went into debug mode to make
sure all the code was being run properly, and when I step throught the code
in debug mode all the rows show up! Then when I turn off all breakpoints it
goes back to showing only the first eight rows. I know that it sets the
RowSOurce query properly, and I checked the query to make sure it is OK.
PLus, like I said, it works OK when stepping through in debug mode. This
seems to have started happening when I changed the ListRows value. It had
always been set to the default of 8. I changed it to 15, and not long after
noticed that it wasn't displaying all the rows in the one case. Any idea
what's going on here?! I'm at a loss. Thanks for any help.
Jim B