Share via

Report Page numbers: Still getting #Name? error.

Anonymous
2011-07-19T16:00:06+00:00

Hello,

I am still having an idiot problem with page numbers on a simple report.

In the report footer i have a text field with the following as the control source:

=[Page] & " of  " & [Pages]

 Directly after entering the above, I can run the report and the page numbers appear fine.

 I save the report and close the database, but the next time that i go into the database,

and run the report, it cites

#Name? instead of the page numbers :(

I am running access 2007 on WIN XP pro, service pack 3

I even started all over again and used Format tab>Controls Group>Page number,

but this resulted in the same problemL

I previously had a field, in a table, name “Last page” (this was imported data). I have since,

renamed that field and saved the database – so I have no fields named “page”, which I understand,

can cause problems.

Can anyone help? Thank you

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2011-07-19T16:56:40+00:00

    I'd suggest turning off Name Autocorrect (deleting the stored name data in the process) and compacting the database. I'm guessing that there's some memory of a "Page" field in the autocorrect tables.

     

    And failing that, perhaps a Decompile might help.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-07-19T16:32:44+00:00

    I'd suggest turning off Name Autocorrect (deleting the stored name data in the process) and compacting the database. I'm guessing that there's some memory of a "Page" field in the autocorrect tables.

    Was this answer helpful?

    0 comments No comments
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Anonymous
    2011-07-19T15:48:52+00:00

    Hello,

     

    I am still having this problem myself and i cannot figure out why.

    In the report footer i have a text field with the following in the control source:

    =[Page] & " of  " & [Pages]

     

    Directly after entering the above, i can run the report and page number appears fine.

     

    I save the report and close the database, but the next time that i go into the database,

    the report cites

    #Name? instead of the page:(

    I am running access 2007 on WIN XP pro service pack 3

    Can anyone help? thank you

    It sounds to me like you have something, somewhere that is named PAGE or PAGES.  That will just kill everything for this.  If you can't find where it is, then you might consider using the FREE V-TOOLS which has a tool called TOTAL DEEP SEARCH which might be able to find where you have this being used.

    http://www.skrol29.com/us/vtools.php

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2011-07-19T14:36:01+00:00

    Hello,

    I am still having this problem myself and i cannot figure out why.

    In the report footer i have a text field with the following in the control source:

    =[Page] & " of  " & [Pages]

    Directly after entering the above, i can run the report and page number appears fine.

    I save the report and close the database, but the next time that i go into the database,

    the report cites

    #Name? instead of the page:(

    I am running access 2007 on WIN XP pro service pack 3

    Can anyone help? thank you

    Was this answer helpful?

    0 comments No comments