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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top