James said:
Is there a way to requery only the current record on a continuous form. When
I requery it now all of the forms requery showing blank combos where there is
actually a value.
The dependent combo box on a continuous form is a common
problem. The issue is that there is only one combo box.
This means that the combo box's RowSource only applies to
the current record so the other records are unable to
display an unbound column. The combo box's Value is
correct, but since the value's related record is not in the
RowSource query, the display can't find what you want to see
in the box.
The general idea of the workaround is to place a text box
exactly on top of the text portion of the combo box. Then
the form's record source query needs to be modified to
include the data that the combo box is supposed to display
(join the combo's row source base table to the forms base
table). Then the text box can be bound to that field and
will display the desired value.
To prevent user confusion, the text box's GotFocus event
should be used to transfer control to the combo box by using
a line of code:
Me.thecombobox.SetFocus
If all this sounds like gobbledygook, post back with the
details of the combo box, its row source table/query and the
form's record source table/query.