On Jul 16, 9:44 am, Maury Markowitz
<MauryMarkow...@discussions.microsoft.com> wrote:
> I have a form with several subforms on it. When the main form's record is in
> a certain state, I disable the various fields on the form and subform.
>
> However, since the subforms get focus as well as the main form, when I go to
> disable them I get an error saying you can't disable the field with focus.
>
> I tried creating a hidden field, but for some reason I couldn't SetFocus to
> it.
>
> Is there a "best practice" solution to this?
>
> Maury
You would probably have to setfocus to another control on your form
and then disable whatever you wanted...
|