B
Bill H.
I have a combo box on a form. Selecting from the combo box shows certain
fields from the underlying table on the form. These formfields have their
property set to enabled and locked.
I have another combo box which sets the rowsource for the combo box
described above, using a WHERE clause to limit the choices displayed in the
above combo box based on certain factors. Problem is that when this combo
box writes sql to the rowsource of the other box, and that query results in
no records, the above combo box is blank, but the fields still display data
from the prior record. Under that situation, I want the displayed fields to
be blank, but I can't do that because I'm not on any valid record. Yet, if
I use the access record, refresh, it DELETES the current record from the
table! I don't expect to use that refresh menu item, but a user might and
there goes some data.
fields from the underlying table on the form. These formfields have their
property set to enabled and locked.
I have another combo box which sets the rowsource for the combo box
described above, using a WHERE clause to limit the choices displayed in the
above combo box based on certain factors. Problem is that when this combo
box writes sql to the rowsource of the other box, and that query results in
no records, the above combo box is blank, but the fields still display data
from the prior record. Under that situation, I want the displayed fields to
be blank, but I can't do that because I'm not on any valid record. Yet, if
I use the access record, refresh, it DELETES the current record from the
table! I don't expect to use that refresh menu item, but a user might and
there goes some data.