I have two combo boxes on a form. One of them allows a user to choose a
category and the other filters the choices available based on the chosen
category. There is a requery event in the afterupdate property of the
category field. That part works fine. The form needs to be viewed in a data
sheet view. If you close the form and re-open it to continue working, a new
entry causes all of the previously entered data in the field containing the
filtered choices to blank out. What am I doing wrong? Any help with this is
greatly appreciated. I am nearing the end of the project I am working on and
this is a big roadblcok.
ridgerunner
> I have two combo boxes on a form. One of them allows a user to
> choose a category and the other filters the choices available
[quoted text clipped - 8 lines]
>
> ridgerunner
Any attempt to use a combobox with a filtered row source is going to
run into the problem, because the combobox will only display data
that is in the current record's source, not those in the other rows
of the continuous form or datasheet.
One trick may be to move the requery to the on_enter event of the
combobox, with a corresponding requery of all the possibilities in
the combo box's on_exit event.

Signature
Bob Quintal
PA is y I've altered my email address.
** Posted from http://www.teranews.com **