Referring to PageFooter

E

Eddy

Using Access2003 I am trying to reference the page footer from code behind
a report. 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!
 
M

Marshall Barton

Eddy said:
Using Access2003 I am trying to reference the page footer from code behind
a report. 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!


This will work:

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