How to Reference PageFooter

E

Eddy

Using Access2003 I am trying to reference the page footer from code behind
the form. The code fires under the On Format event of the PageFooter. The
code is as follows:

For Each ctl In Me.PageFooter.Controls
(Actions)

The error I am getting is Invalid Qualifer with PageFooter highlighted.
PageFooter is the name of the footer. Help!
 
F

fredg

Using Access2003 I am trying to reference the page footer from code behind
the form. The code fires under the On Format event of the PageFooter. The
code is as follows:

For Each ctl In Me.PageFooter.Controls
(Actions)

The error I am getting is Invalid Qualifer with PageFooter highlighted.
PageFooter is the name of the footer. Help!

Detail is section(0)
ReportHeader is Section(1)
ReportFooter is Section(2)
PageHeader is Section(3)
PageFooter is Section(4)
Various GroupHeaders is section(varies)

For Each ctl In Me.Section(4).Controls
 
Top