>My purpose is to give the user an unmistakable sign when they have opened a
>form in Data Entry mode by changing the back color of the form and all
[quoted text clipped - 16 lines]
>Can someone enlighten me as to what the syntax should be, or how else I
>should attack this?
Try this:
Dim ctl As Control
For Each ctl In Me.Controls
If ctl.ControlType = acSubForm Then
ctl.Form.Section(acDetail).BackColor = 9211609
End If
Next ctl

Signature
Marsh
MVP [MS Access]
Darrell - 29 Jul 2005 16:45 GMT
Marshall, you're a genius! Thank you very much! It saved me a lot of time
going down other false paths since I thought I had just about exhausted the
syntax variations (I had tried several other variations since posting last
evening).
Obviously, a second benefit is knowing that other possible issues, like
trying other events to associate this with are not necessary. I now know that
properties of subforms CAN be addressed in the load event of the main form.
Thanks again!

Signature
Darrell
> >My purpose is to give the user an unmistakable sign when they have opened a
> >form in Data Entry mode by changing the back color of the form and all
[quoted text clipped - 25 lines]
> End If
> Next ctl