Thanks Clifford, this worked.
For Jeff Boyce, I have a couple of functions that magnify and de-magnify
all
the controls and the "Details" section on a form for a vision-impaired
user
at the click of a button. I wanted to exclude all the controls on the
header
and footer in my code, and Clifford's suggestion worked.
Clifford Bass via AccessMonster.com said:
Hi,
Certainly. Suppose a button named "Command10" with an On Click
event:
Private Sub Command10_Click()
MsgBox Me.Section([Command10].Section).Name
End Sub
Clifford Bass
Me.Frustrated = True said:
Is there a way to find out programmatically whether a control is in the
form's header, footer, or detail section? I can't see anything in the
control's properties that indicates this.
--
.