R
r
I have a subform with a listbox of Codes and description field that does a
dlookup to get the associate description from the codes table. If the user
changes the value in the listbox, a macro runs to put control on the
description field and then requery it. It works fine when the subform is
loaded on it's own (not as a subform within the main form). However, when I
try to run it as part of the main form, I get an "action failed" on the
requery step. ?? Can this be done at all, is there another way to cause
the description to be updated, or do I need to change something in the macro
(how I refer to the field/subform) to make it work?
Thanks in advance.
dlookup to get the associate description from the codes table. If the user
changes the value in the listbox, a macro runs to put control on the
description field and then requery it. It works fine when the subform is
loaded on it's own (not as a subform within the main form). However, when I
try to run it as part of the main form, I get an "action failed" on the
requery step. ?? Can this be done at all, is there another way to cause
the description to be updated, or do I need to change something in the macro
(how I refer to the field/subform) to make it work?
Thanks in advance.